Zoonado: Async Tornado Zookeeper Client
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
Zoonado is licensed under the terms of the Apache license (2.0). See the LICENSE file for more details.