Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Pythonic API and common paradigms for Zookeeper

Project description

Zookeeper is a highly reliable distributed coordination service.

Zoop gives you a Pythonic API for accessing ZooKeeper instances, as well as implementations of some common ZooKeeper patterns. This leaves you free to concentrate on whatever it was you were originally doing:

>>> zk =  zoop.ZooKeeper('localhost:2181')
>>> zk.connect()
>>> q = zk.Queue('/howdy')
>>> def gotit(data):
...     print "Gotit got data:", data
>>> q.watch(gotit)
>>> q.put("frist!")
Gotit got data: frist!
Build Status

Check out:

Documentation

Source

Issues

History

0.1.1

Expanding the Filesystem metaphor: Client now has rm_rf() and rm() methods

Queues now have variable item prefix (Useful for watching Queues created by other libraries) Queues now have multiple watch options - watch for lists of items, or data added.

0.1 (2012-05-07)

Initial release with * complete CRUD * Lock Implementation * Queue Implementation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zoop, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size zoop-0.1.1.tar.gz (16.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page