Soniccube / zoonado

Tornado-based Zookeeper client.

Home Page:https://zoonado.readthedocs.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zoonado: Async Tornado Zookeeper Client

Python Package Version Documentation Status Build Status Code Health Codecov.io
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.

About

Tornado-based Zookeeper client.

https://zoonado.readthedocs.org/en/latest/

License:Apache License 2.0


Languages

Language:Python 100.0%