Skip to main content

Pure Python Multicast DNS Service Discovery Library (Avahi/Bonjour compatible)

Project description

python-zeroconf

https://travis-ci.org/jstasiak/python-zeroconf.svg?branch=master

This is fork of pyzeroconf, Multicast DNS Service Discovery for Python, originally by Paul Scott-Murphy, modified by William McBrine.

This fork is used in all of my TiVo-related projects: HME for Python (and therefore HME/VLC), Network Remote, Remote Proxy, and pyTivo. Before this, I was tracking the changes for zeroconf.py in three separate repos. I figured I should have an authoritative source.

Although I make changes based on my experience with TiVos, I expect that they’re generally applicable. This version also includes patches found on the now-defunct (?) Launchpad repo of pyzeroconf, and elsewhere around the net – not always well-documented, sorry.

Compatible with:

  • CPython 2.6, 2.7

  • PyPy 2.2+ (possibly 1.9-2.1 as well)

How to get python-zeroconf?

The easiest way to install python-zeroconf is using pip:

pip install zeroconf

See examples directory for examples of use.

Changelog

0.14

  • Fix for SOL_IP undefined on some systems - thanks Mike Erdely.

  • Cleaned up examples.

  • Lowercased module name.

0.13

  • Various minor changes; see git for details.

  • No longer compatible with Python 2.2. Only tested with 2.5-2.7.

  • Fork by William McBrine.

0.12

  • allow selection of binding interface

  • typo fix - Thanks A. M. Kuchlingi

  • removed all use of word ‘Rendezvous’ - this is an API change

0.11

  • correction to comments for addListener method

  • support for new record types seen from OS X - IPv6 address - hostinfo

  • ignore unknown DNS record types

  • fixes to name decoding

  • works alongside other processes using port 5353 (e.g. on Mac OS X)

  • tested against Mac OS X 10.3.2’s mDNSResponder

  • corrections to removal of list entries for service browser

0.10

  • Jonathon Paisley contributed these corrections: - always multicast replies, even when query is unicast - correct a pointer encoding problem - can now write records in any order - traceback shown on failure - better TXT record parsing - server is now separate from name - can cancel a service browser

  • modified some unit tests to accommodate these changes

0.09

  • remove all records on service unregistration

  • fix DOS security problem with readName

0.08

  • changed licensing to LGPL

0.07

  • faster shutdown on engine

  • pointer encoding of outgoing names

  • ServiceBrowser now works

  • new unit tests

0.06

  • small improvements with unit tests

  • added defined exception types

  • new style objects

  • fixed hostname/interface problem

  • fixed socket timeout problem

  • fixed addServiceListener() typo bug

  • using select() for socket reads

  • tested on Debian unstable with Python 2.2.2

0.05

  • ensure case insensitivty on domain names

  • support for unicast DNS queries

0.04

  • added some unit tests

  • added __ne__ adjuncts where required

  • ensure names end in ‘.local.’

  • timeout on receiving socket for clean shutdown

License

LGPL, see COPYING file for details.

Project details


Release history Release notifications | RSS feed

This version

0.14

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeroconf-0.14.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeroconf-0.14-py27-none-any.whl (17.3 kB view details)

Uploaded Python 2.7

File details

Details for the file zeroconf-0.14.tar.gz.

File metadata

  • Download URL: zeroconf-0.14.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zeroconf-0.14.tar.gz
Algorithm Hash digest
SHA256 c96064add377943ecc724735e8408d7b468bf0ce446f7947337eeff90e467a41
MD5 9f6cc6ad4653aff4b61561359c659cd3
BLAKE2b-256 b0d739a1d827a1541a34f502173292534d7aaedc6d7cce6368f9c932900819fa

See more details on using hashes here.

File details

Details for the file zeroconf-0.14-py27-none-any.whl.

File metadata

File hashes

Hashes for zeroconf-0.14-py27-none-any.whl
Algorithm Hash digest
SHA256 4daad3cff5ef14d367efd07caee3e74d582f2e416404effc81a32ca1a400c711
MD5 25ed717850d19d7521c580ce8c6bc03c
BLAKE2b-256 8be6bf1904eef083bb28bda1b1273259481669b05bd043a950cdc917697b2069

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page