{"id":13566943,"url":"https://github.com/python-zeroconf/python-zeroconf","last_synced_at":"2026-03-06T21:08:45.797Z","repository":{"id":18368390,"uuid":"21548731","full_name":"python-zeroconf/python-zeroconf","owner":"python-zeroconf","description":"A pure python implementation of multicast DNS service discovery","archived":false,"fork":false,"pushed_at":"2025-12-08T16:50:32.000Z","size":3693,"stargazers_count":700,"open_issues_count":53,"forks_count":235,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-12-11T00:45:03.932Z","etag":null,"topics":["avahi","bonjour","library","python","python3","service-discovery","zeroconf"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"paulsm/pyzeroconf","license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python-zeroconf.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-07-06T21:12:43.000Z","updated_at":"2025-12-10T09:44:41.000Z","dependencies_parsed_at":"2023-09-24T13:06:22.214Z","dependency_job_id":"30210b58-7621-4911-a013-e971f723fa7a","html_url":"https://github.com/python-zeroconf/python-zeroconf","commit_stats":{"total_commits":1378,"total_committers":72,"mean_commits":19.13888888888889,"dds":"0.40348330914368646","last_synced_commit":"8eac029bd8376abb2a2bdcc32be2edfcb5a8bf7b"},"previous_names":["jstasiak/python-zeroconf"],"tags_count":269,"template":false,"template_full_name":null,"purl":"pkg:github/python-zeroconf/python-zeroconf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-zeroconf%2Fpython-zeroconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-zeroconf%2Fpython-zeroconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-zeroconf%2Fpython-zeroconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-zeroconf%2Fpython-zeroconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-zeroconf","download_url":"https://codeload.github.com/python-zeroconf/python-zeroconf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-zeroconf%2Fpython-zeroconf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27654910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-11T02:00:11.302Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avahi","bonjour","library","python","python3","service-discovery","zeroconf"],"created_at":"2024-08-01T13:02:20.055Z","updated_at":"2025-12-11T23:09:50.516Z","avatar_url":"https://github.com/python-zeroconf.png","language":"Python","readme":"python-zeroconf\n===============\n\n.. image:: https://github.com/python-zeroconf/python-zeroconf/workflows/CI/badge.svg\n   :target: https://github.com/python-zeroconf/python-zeroconf?query=workflow%3ACI+branch%3Amaster\n\n.. image:: https://img.shields.io/pypi/v/zeroconf.svg\n    :target: https://pypi.python.org/pypi/zeroconf\n\n.. image:: https://codecov.io/gh/python-zeroconf/python-zeroconf/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/python-zeroconf/python-zeroconf\n\n.. image:: https://img.shields.io/endpoint?url=https://codspeed.io/badge.json\n   :target: https://codspeed.io/python-zeroconf/python-zeroconf\n   :alt: Codspeed.io status for python-zeroconf\n\n.. image:: https://readthedocs.org/projects/python-zeroconf/badge/?version=latest\n    :target: https://python-zeroconf.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n`Documentation \u003chttps://python-zeroconf.readthedocs.io/en/latest/\u003e`_.\n\nThis is fork of pyzeroconf, Multicast DNS Service Discovery for Python,\noriginally by Paul Scott-Murphy (https://github.com/paulsm/pyzeroconf),\nmodified by William McBrine (https://github.com/wmcbrine/pyzeroconf).\n\nThe original William McBrine's fork note::\n\n    This fork is used in all of my TiVo-related projects: HME for Python\n    (and therefore HME/VLC), Network Remote, Remote Proxy, and pyTivo.\n    Before this, I was tracking the changes for zeroconf.py in three\n    separate repos. I figured I should have an authoritative source.\n\n    Although I make changes based on my experience with TiVos, I expect that\n    they're generally applicable. This version also includes patches found\n    on the now-defunct (?) Launchpad repo of pyzeroconf, and elsewhere\n    around the net -- not always well-documented, sorry.\n\nCompatible with:\n\n* Bonjour\n* Avahi\n\nCompared to some other Zeroconf/Bonjour/Avahi Python packages, python-zeroconf:\n\n* isn't tied to Bonjour or Avahi\n* doesn't use D-Bus\n* doesn't force you to use particular event loop or Twisted (asyncio is used under the hood but not required)\n* is pip-installable\n* has PyPI distribution\n* has an optional cython extension for performance (pure python is supported as well)\n\nPython compatibility\n--------------------\n\n* CPython 3.9+\n* PyPy 3.9+\n\nVersioning\n----------\n\nThis project uses semantic versioning.\n\nStatus\n------\n\nThis project is actively maintained.\n\nTraffic Reduction\n-----------------\n\nBefore version 0.32, most traffic reduction techniques described in https://datatracker.ietf.org/doc/html/rfc6762#section-7\nwhere not implemented which could lead to excessive network traffic.  It is highly recommended that version 0.32 or later\nis used if this is a concern.\n\nIPv6 support\n------------\n\nIPv6 support is relatively new and currently limited, specifically:\n\n* `InterfaceChoice.All` is an alias for `InterfaceChoice.Default` on non-POSIX\n  systems.\n* Dual-stack IPv6 sockets are used, which may not be supported everywhere (some\n  BSD variants do not have them).\n* Listening on localhost (`::1`) does not work. Help with understanding why is\n  appreciated.\n\nHow to get python-zeroconf?\n===========================\n\n* PyPI page https://pypi.org/project/zeroconf/\n* GitHub project https://github.com/python-zeroconf/python-zeroconf\n\nThe easiest way to install python-zeroconf is using pip::\n\n    pip install zeroconf\n\n\n\nHow do I use it?\n================\n\nHere's an example of browsing for a service:\n\n.. code-block:: python\n\n    from zeroconf import ServiceBrowser, ServiceListener, Zeroconf\n\n\n    class MyListener(ServiceListener):\n\n        def update_service(self, zc: Zeroconf, type_: str, name: str) -\u003e None:\n            print(f\"Service {name} updated\")\n\n        def remove_service(self, zc: Zeroconf, type_: str, name: str) -\u003e None:\n            print(f\"Service {name} removed\")\n\n        def add_service(self, zc: Zeroconf, type_: str, name: str) -\u003e None:\n            info = zc.get_service_info(type_, name)\n            print(f\"Service {name} added, service info: {info}\")\n\n\n    zeroconf = Zeroconf()\n    listener = MyListener()\n    browser = ServiceBrowser(zeroconf, \"_http._tcp.local.\", listener)\n    try:\n        input(\"Press enter to exit...\\n\\n\")\n    finally:\n        zeroconf.close()\n\n.. note::\n\n    Discovery and service registration use *all* available network interfaces by default.\n    If you want to customize that you need to specify ``interfaces`` argument when\n    constructing ``Zeroconf`` object (see the code for details).\n\nIf you don't know the name of the service you need to browse for, try:\n\n.. code-block:: python\n\n    from zeroconf import ZeroconfServiceTypes\n    print('\\n'.join(ZeroconfServiceTypes.find()))\n\nSee examples directory for more.\n\nChangelog\n=========\n\n`Changelog \u003cCHANGELOG.md\u003e`_\n\nLicense\n=======\n\nLGPL, see COPYING file for details.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-zeroconf%2Fpython-zeroconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-zeroconf%2Fpython-zeroconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-zeroconf%2Fpython-zeroconf/lists"}