Async tornado client for Zookeeper.
Project description
Zoonado is a Zookeeper python client using Tornado to achieve async I/O.
Installation
Zoonado is available via PyPI, installation is as easy as:
pip install zoonado
Quick Example
from tornado import gen from zoonado import Zoonado @gen.coroutine def run(): zk = Zoonado("zk01,zk02,zk03", chroot="/shared/namespace") yield zk.start() yield zk.create("/foo/bar", data="bazz", ephemeral=True) yield zk.set_data("/foo/bar", "bwee") yield zk.close()
Development
The code is hosted on GitHub
To file a bug or possible enhancement see the Issue Tracker, also found on GitHub.
License
Lighthouse is licensed under the terms of the Apache license (2.0). See the LICENSE file for more details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zoonado-0.8.1.tar.gz
(29.7 kB
view hashes)