Skip to content

Repository files navigation

Python client for Consul.io

Documentation

Read the Docs

Status

Build StatusCoverage Status

Example

importconsulc=consul.Consul()
# poll a key for updatesindex=NonewhileTrue:
index, data=c.kv.get('foo', index=index)
printdata['Value']
# in another processc.kv.put('foo', 'bar')

Installation

pip install python-consul

Status

There's a few API endpoints still to go to expose all features available in Consul v0.4.1. If you need an endpoint that's not in the documentation, just open an issue and I'll try and add it straight away.

About

Python client for Consul (http://www.consul.io/)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages