Skip to main content

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

Project description

Documentation

Read the Docs

Status

Build StatusCoverage 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


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.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file python-consul-0.1.tar.gz.

File metadata

  • Download URL: python-consul-0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-consul-0.1.tar.gz
Algorithm Hash digest
SHA256 f01db05dc2b8dcb9db00552559a10efe0682ecd9fdb96a914b27ef38e07c2261
MD5 d770476bcbdcf39ae1631aa151f2efbe
BLAKE2b-256 a115817b4bb5c0926162ac7c3d9cbf0fbba396d273d489c6e0bb0fccdb1ff81d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page