Skip to main content

CCentral client library

Project description

python-ccentral

Python client for CCentral configuration management. Client communicates directly with etcd.

WebUI for configuration management and monitoring metrics can be found from https://github.com/slvwolf/ccentral.

Example Usage

import ccentral

cc = ccentral.CCentral("my_service", "etcd-host:1234")
cc.add_field("config_a", "Dynamic configuration", default="test", description="Configuration string")

# Read configuration
print(cc.get("config_a"))

# Increment counters
cc.inc_instance_counter("run")

# Set text info
cc.add_instance_info("version", "1.2")

# Set text info (common in cluster)
cc.add_service_info("shared_key", "shared_value")

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

ccentral-0.4.1.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

ccentral-0.4.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

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