kazoo
"Higher Level Zookeeper Client"
Decision gist · record as of 2026-08-14
Yes. Kazoo is actively maintained, has no external dependencies, and is the standard Python client for ZooKeeper. It's production-stable (Development Status 5), supports modern Python versions (3.8–3.14), and carries no known security vulnerabilities. Install it if you're building on ZooKeeper for coordination; skip it only if you don't need ZooKeeper or prefer a different coordination backend.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Apache ZooKeeper server instance to connect to.
- Low friction installation with no runtime dependencies.
- Actively maintained as of 2026-03-21 with recent commits addressing Python 3.13 and 3.14 support, SNI support, and bug fixes.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 is permissive; you can use this package in commercial and proprietary projects with minimal restrictions, though you must include a copy of the license and note any modifications.
last release 2026-03-21 (146 days) · last repo commit 2026-05-08 · 1,322 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,117,261 downloads/mo, #1,968 on PyPI
Alternatives
Verify before relying
pip install kazoo
from kazoo.client import KazooClient
zk = KazooClient(hosts='localhost')
zk.start()
zk.create('/my_node', b'data')
zk.stop()- Whether SNI support added in 2.11.0 covers all modern TLS/SSL scenarios for production deployments
- Performance characteristics and scalability limits for high-throughput distributed locking scenarios
- Compatibility with specific ZooKeeper server versions beyond what the changelog indicates
What it is and what it does
Kazoo is a Python client library that wraps Apache ZooKeeper's lower-level protocol with a more Pythonic, higher-level API. It handles the complexity of connecting to ZooKeeper clusters, managing sessions, and implementing common distributed patterns like leader election, distributed locks, and configuration management. The package has no runtime dependencies and installs cleanly as a pure-Python wheel.
Developers use Kazoo when building distributed systems that need coordination across multiple nodes—for example, electing a leader among service instances, managing shared configuration that updates across a cluster, or implementing distributed locks for resource access. The library abstracts away ZooKeeper's connection management and event handling, letting you focus on the coordination logic itself.
Use it for
- Implement distributed leader election to ensure only one instance of a service runs at a time across a cluster
- Manage shared configuration that multiple services read and watch for changes in real time
- Build distributed locks to coordinate access to shared resources or prevent concurrent operations
- Implement service discovery by registering and discovering service endpoints in a ZooKeeper ensemble
- Coordinate job scheduling or task distribution across multiple worker nodes
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Kazoo is actively maintained, has no external dependencies, and is the standard Python client for ZooKeeper. It's production-stable (Development Status 5), supports modern Python versions (3.8–3.14), and carries no known security vulnerabilities. Install it if you're building on ZooKeeper for coordination; skip it only if you don't need ZooKeeper or prefer a different coordination backend.
Install
kazoo on PyPI
Before you install
Low friction installation with no runtime dependencies. Actively maintained as of 2026-03-21 with recent commits addressing Python 3.13 and 3.14 support, SNI support, and bug fixes.
Requires a running Apache ZooKeeper server instance to connect to.
License in practice
Apache 2.0 is permissive; you can use this package in commercial and proprietary projects with minimal restrictions, though you must include a copy of the license and note any modifications.
Quickstart
pip install kazoo
from kazoo.client import KazooClient
zk = KazooClient(hosts='localhost')
zk.start()
zk.create('/my_node', b'data')
zk.stop()
Verify before relying
- Whether SNI support added in 2.11.0 covers all modern TLS/SSL scenarios for production deployments
- Performance characteristics and scalability limits for high-throughput distributed locking scenarios
- Compatibility with specific ZooKeeper server versions beyond what the changelog indicates
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 146 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,117,261 / month, #1,968 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: CommunicationsTopic :: System :: Distributed ComputingTopic :: System :: Networking |
Evidence: kazoo-2.11.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “zookeeper python client”
- kazooKazoo provides a higher-level Python client API for Apache ZooKeeper,…
- patroniPatroni orchestrates PostgreSQL high-availability clusters using…
- pysolrpysolr is a lightweight Python client for Apache Solr that enables…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also tooz · aioredlock · zc.lockfile · python-dynamodb-lock · redlock-py · patroni · PyMySQLLock · lockfile