#pyzookeeper Algorithms for Zookeeper using python.
pyZooKeeper is a library that implemnts generic applications using the zookeeper.
In order to use this library, it assumes you have apache zookeeper running.
-
Leader Election
This algorithm detects failure of a node and switches the leadership accordingly.
NOTE: This library infact uses zk-zookeeper-static library. This is how it interacts with Apache Zookeeper.
##Installation cd to pyzookeeper directory and run,
python setup.py install ( Make sure you have setuptools installed)
navigate to the examples directory and start using them right away!