Skip to main content

Zookeeper Tools

zktools is a package of tools implementing higher level constructs using Apache Zookeeper.

It currently provides:

  • Configuration - Zookeeper Configuration Helpers to store and load configuration information stored in Zookeeper nodes.

  • Locks - A Zookeeper lock with support for non-blocking acquire, modeled on Python’s Lock objects that also includes a Revocable Shared Locks with Freaking Laser Beams described in the Zookeeper Recipe’s.

See the full docs for more information.

License

zktools is offered under the MPL license.

Authors

zktools is made available by the Mozilla Foundation.

Changelog

0.2.1 (02/16/2012)

  • Fixed packaging bug.

0.2 (02/03/2012)

Changes

  • Added context manager return to lock to allow use of the ‘with’ statement.

  • Refactored to use zc.zk ZooKeeper library for higher level Zookeeper abstraction with automatic watch re-establishment.

Features

  • Node object to retrieve ZNode data from Zookeeper and keep it up to date.

  • Node objects can have data and children subscribers.

  • NodeDict object that maps a shallow tree (one level of children) into a dict-like object.

Backward Incompatibilities

  • SharedZkLock has been refactored into ZkWriteLock and ZkReadLock.

  • revoked is a property of Locks, not a method.

  • ZkConnection is gone, lock objects, ZkNode, and ZkNodeDict all expect zc.zk ZooKeeper instances.

0.1 (11/22/2011)

Features

  • Lock implementation, with revokable shared locks.

  • Zookeeper connection object with automatic reconnect.

Metadata

Release files for zktools 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zktools 0.2.1
File Size Uploaded Provenance
zktools-0.2.1.tar.gz 193.6 kB Without provenance Details

Release files / zktools-0.2.1.tar.gz

Download URL zktools-0.2.1.tar.gz
Size 193.6 kB
Tags Source
SHA-256 checksum
How to use checksums
04930257d6dc6b67c6a9d58f82cdd9d75e80eed93ab25753d4a28b7e9efad50c
BLAKE2b-256 checksum
How to use checksums
1ccbc2af07f8aebf02ecfa2ee45fa47262d13745ee7d8e2debc51ad7c8104c22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for zktools 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page