skillfed

tooz

Coordination library for distributed systems.

tooz v9.0.1 158.6K downloads/30d#10,715 on PyPI
Permissive license Apache-2.0 Active released

What it is and what it does

Tooz is a coordination library that abstracts away the complexity of building distributed applications by providing a unified API for common distributed primitives. Instead of writing custom code to handle group membership, distributed locks, and leader election, developers use Tooz's consistent interface to these operations, which can be backed by different coordination services. The library is production-stable and actively maintained, supporting Python 3.11 through 3.14.

The package is built on top of established dependencies including stevedore, msgpack, fasteners, tenacity, futurist, oslo.utils, and oslo.serialization. It's designed for teams building distributed systems who need reliable coordination without reinventing these patterns for each new service.

Use it for:

  • Implement distributed locks across multiple application instances to prevent concurrent access to shared resources
  • Manage group membership to track which nodes are active in a distributed cluster
  • Elect a leader node to coordinate work or manage state in a distributed system
  • Build distributed task queues or job schedulers that need coordination across workers

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Tooz provides a coordination API for distributed systems, centralizing common primitives like group membership, lock services, and leader election.

Yes. Tooz is production-stable, actively maintained, has low install friction, carries a permissive Apache-2.0 license, and solves a real problem for distributed systems. No known vulnerabilities. Install it if you're building distributed applications that need coordination primitives.

Install

tooz on PyPI

pip

pip install tooz

uv

uv add tooz

poetry

poetry add tooz

Installing tooz

Before you install

Low install friction with a pure-Python wheel. Active maintenance with a release 15 days ago. Eight runtime dependencies are all established libraries.

License in practice

Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; you must include a copy of the license and note any modifications.

Quickstart

pip install tooz

from tooz import coordination

coord = coordination.get_coordinator('zookeeper://localhost')
coord.start()

Requires Python 3.11 or later; a running coordination backend service (Zookeeper, etcd, etc.) is needed for actual operation.

Verify before relying

  • Which backend coordination services are supported by version 9.0.1
  • Whether all eight runtime dependencies are required or some are optional for specific backends
  • What coordination primitives beyond group membership, locks, and leader election are available

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 8 — stevedore, voluptuous, msgpack, fasteners, tenacity, futurist, oslo.utils, oslo.serialization
Maintenance actively maintained — 15 days since the last release
First released
Downloads 158,649/month — #10,715 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: tooz-9.0.1-py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: System :: Distributed ComputingTyping :: Typed

Tags

distributed coordination librarygroup membership protocoldistributed lock serviceleader electiondistributed primitivescoordination APIdistributed systems toolkit
distributed-systemscoordinationopenstack

More Distributed Computing packages