Henry Robinson updated ZOOKEEPER-395:

    Attachment: ZOOKEEPER-395.patch

Here's a patch that adds Python bindings for the ZooKeeper C client. This is 
very early work and comes with attendant warnings about feature incompleteness 
and bugs. 

Instructions for building and installing are in the enclosed README. Watchers 
(should) work as the Python C API make it easy to asynchronously call back into 
the interpreter. 

For example:

ZOO_OPEN_ACL_UNSAFE = {"perms":0x1f, "scheme":"world", "id" :"anyone"};

if zookeeper.exists(handle, "/python-test", None) == None:
    print zookeeper.get_acl(handle,"/python-test")

There are plenty of things that need improving (again see the README), but I'm 
offering this early for comment and in the hope of it being useful.

> Python bindings
> ---------------
>                 Key: ZOOKEEPER-395
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395
>             Project: Zookeeper
>          Issue Type: New Feature
>    Affects Versions: 3.2.0
>            Reporter: Henry Robinson
>            Assignee: Henry Robinson
>         Attachments: ZOOKEEPER-395.patch
> ZooKeeper doesn't have Python bindings. Having them would be useful, and 
> would complement the extant Perl bindings. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to