Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An pure python implementation of multicast DNS service discovery

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 docs
Octocat-spinner-32 samplecode
Octocat-spinner-32 test
Octocat-spinner-32 zeroconf
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README
Octocat-spinner-32 lgpl.txt
Octocat-spinner-32 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.