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.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
Release files for zoop 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zoop-0.1.1.tar.gz | 16.1 kB | Details |
Release files / zoop-0.1.1.tar.gz
| Download URL | zoop-0.1.1.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a397f88cd1aa6f30d632d55945142dc34b688f1eb761a5cfe626bbddd18b25a4
|
|
BLAKE2b-256 checksum How to use checksums |
6c01acccd062e9fa22afa0bdd000c0c8619c8f428a715b148fb7ecda93dcd73e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |