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!
Check out:
History
0.1 (2012-05-07)
Initial release with * complete CRUD * Lock Implementation * Queue Implementation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zoop-0.1.tar.gz
(14.6 kB
view hashes)