Python client for Consul (http://www.consul.io/)
Project description
Python client for Consul.io
Documentation
Status
Example
import consul
c = consul.Consul()
# poll a key for updates
index = None
while True:
index, data = c.kv.get('foo', index=index)
print data['Value']
# in another process
c.kv.put('foo', 'bar')
Installation
pip install python-consul
Change log
0.3.0
Features
Add support for ACLs (Consul.ACL)
API changes (backwards incompatible)
For Consul.Agent.Service.register, rename check argument to script
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-consul-0.3.0.tar.gz
(6.9 kB
view hashes)