# python-zk/kazoo

Kazoo is a high-level Python library that makes it easier to use Apache Zookeeper.

Repository: https://github.com/python-zk/kazoo
Canonical: https://ross.abutalabs.com/products/kazoo
Homepage: https://kazoo.readthedocs.io
Language: Python
License: Apache-2.0
License Family: permissive
Topics: zookeeper, zookeeper-client, python
Last push: 2026-08-23T17:10:17+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 43, longevity 100
- inputs: {"age_days": 5215, "days_push": 10, "days_rel": 165, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1322, forks 393 (observed 2026-08-28T04:04:21.978358+00:00)

## What it is
Kazoo is a high-level Python client library for Apache ZooKeeper, providing a friendlier API on top of the raw protocol. It includes recipes like distributed locks, leader election, and configuration management for distributed systems.

## Use cases
- manage distributed locks in Python
- implement leader election across service instances
- store and watch service configuration in ZooKeeper
- coordinate distributed workers with ZooKeeper
- watch ZooKeeper nodes for changes in Python
- build service discovery on ZooKeeper

## When to choose
- your Python services need coordination primitives backed by ZooKeeper
- you want a maintained, higher-level alternative to the raw ZooKeeper C/Java client bindings
- you need distributed locks, barriers, or leader election recipes out of the box

## When to avoid
- your infrastructure uses etcd or Consul instead of ZooKeeper
- you need a client for a language other than Python
- you only need simple key-value storage without coordination semantics

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, configuration-management, concurrency, developer-tools
- domain: microservices, developer-tools, backend
- platform: python, cross-platform
- tags: zookeeper, distributed-coordination, leader-election, distributed-locks, service-discovery

## Member repositories
- python-zk/kazoo (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:21.978358+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:47:15.015595+00:00, confidence not recorded.
  - readme: https://github.com/python-zk/kazoo (fetched 2026-08-28T04:04:21.978358+00:00, sha 57ccbdcc06de)
  - registry_pypi: https://pypi.org/pypi/kazoo/json (fetched 2026-08-29T12:06:38.352639+00:00, sha 74c7f5e32e41)
- Data as of 2026-08-30T08:39:29.467469+00:00.
