forked from paulsm/pyzeroconf
-
Notifications
You must be signed in to change notification settings - Fork 11
/
README
34 lines (24 loc) · 1.04 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
This is a fairly extensive fork of:
Multicast DNS Service Discovery for Python v0.12 by Paul Scott-Murphy.
The package zeroconf contains most of the functional code.
The module zeroconf/mdns.py contains a threaded mDNS query/responder
sub-class.
The module zeroconf/mcastsocket.py provides low-level multicast socket
setup and group membership functions.
The samplecode/ directory contains various sample code.
Browser.py -- sample MDNS service browser
nameprobe -- probe and attempt to reserve a .local MDNS name
To install and play:
.. code-block:: bash
$ virtualenv working
$ source working/bin/activate
$ pip install -e git+http://github.com/mcfletch/pyzeroconf.git#egg=PyZeroConf
$ cd working/src/pyzeroconf/samplecode
# Note the trailing '.' character!
$ python nameprobe.py myserver.local.
To build and view the docs on a Linux machine (from the previous):
.. code-block:: bash
$ pip install -I sphinx
$ cd working/src/pyzeroconf/docs
$ make html
$ kde-open _build/html/index.html