Zookeeper bindings for gevent
Project description
# gevent-zookeeper #
A client framework for working with Apache Zookeeper [1].
The framework draws a lot of inspriation from Netflix Curator. If you’re a Java developer, check it out.
The main class is gevent_zookeeper.ZookeeperFramework:
>>> framework = gevent_zookeeper.ZookeeperFramework( 'localhost:2181', 10)
The first thring you have to do is to connect to the clusteR:
>>> framework.connect() >>>
Then connected, new nodes can be created:
>>> framework.create().with_data('x').for_path('/node')
Read the docstrings for ZookeeperFramework for more information.
This code is based work done by David LaBissoniere [2].
[1] http://zookeeper.apache.org/ [2] https://github.com/labisso/zkproto
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
gevent-zookeeper-0.0.tar.gz
(9.5 kB
view details)
File details
Details for the file gevent-zookeeper-0.0.tar.gz
.
File metadata
- Download URL: gevent-zookeeper-0.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cd40822117a1a4a7145833f50f5f17e9d2d2729ad35eb6eacbcd9629ae52d60 |
|
MD5 | fc752c43bdc615a87218e66e28402999 |
|
BLAKE2b-256 | 0f36be83497f9bbdf3e9193f22d9612bbb362a9e70d125fe9be1cdbbc62da230 |