/zoonado

Tornado-based Zookeeper client.

Primary LanguagePythonApache License 2.0Apache-2.0

Zoonado: Async Tornado Zookeeper Client

Python Package Version Documentation Status Build Status Code Climate Test Coverage
Zoonado is a Zookeeper python client using Tornado to achieve async I/O.

Zoonado is available via PyPI, installation is as easy as:

pip install zoonado
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()

The code is hosted on GitHub

To file a bug or possible enhancement see the Issue Tracker, also found on GitHub.

Zoonado is licensed under the terms of the Apache license (2.0). See the LICENSE file for more details.