Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install zktools

How to install zktools

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install zktools
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
0.2.1 Available View build log
0.2 Failed View build log
Linux (32-bit)
0.2.1 Available View build log
0.2 Failed View build log
Linux (64-bit)
0.2.1 Available View build log
0.2 Failed View build log
Lastest release
version 0.2.1 on Feb 17th, 2012

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.


zktools is offered under the MPL license.


zktools is made available by the Mozilla Foundation.


0.2.1 (02/16/2012)
  • Fixed packaging bug.
0.2 (02/03/2012)
  • 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.
  • 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)
  • Lock implementation, with revokable shared locks.
  • Zookeeper connection object with automatic reconnect.

Subscribe to package updates

Last updated Feb 17th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.