Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An pure python implementation of multicast DNS service discovery
Python
Branch: master

This branch is 73 commits ahead of paulsm:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
samplecode
test
zeroconf
.gitignore
MANIFEST.in
README
lgpl.txt
setup.py

README

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
Something went wrong with that request. Please try again.