Python client for Consul (http://www.consul.io/)
Project description
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
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.2.0.tar.gz
(5.5 kB
view details)
File details
Details for the file python-consul-0.2.0.tar.gz
.
File metadata
- Download URL: python-consul-0.2.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ef7af7779ad150f6df365d6967c970084ead376dafce75103c60f11ddf692d50
|
|
MD5 |
9b45a4af91fcc8b2811aae5970663b64
|
|
BLAKE2b-256 |
b24f05b18947cb38e83bf748d2b80efb77c16166e6ab53ae0ef6cbe6cb064f2c
|