Skip to main content

Python SDK for ConfigVault API

Project description

ConfigVault Python SDK

Python client for the ConfigVault configuration management API.

Installation

pip install configvault-sdk

Usage

from configvault import ConfigVaultClient

client = ConfigVaultClient(
    base_url="http://localhost:5000",
    api_key="your-api-key"
)

# Get a configuration value
value = await client.get("production/database/connection")

# Check if key exists
exists = await client.exists("production/database/connection")

# List all configs in namespace
configs = await client.list("production")

# Check service health
health = await client.health()

Watching for Changes

from configvault import ConfigVaultClient

client = ConfigVaultClient(
    base_url="http://localhost:5000",
    api_key="your-api-key"
)

# Watch all changes
watcher = client.watch()

# Or filter by pattern
watcher = client.watch("production/*")

async for event in watcher.watch():
    print(f"Changed keys: {event.keys}")
    print(f"Timestamp: {event.timestamp}")

# Stop watching
watcher.stop()

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

configvault_sdk-0.1.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

configvault_sdk-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file configvault_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: configvault_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for configvault_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 17b811116f7ae5ee424b121a178cfd268895008f758d27206ea8ece2aabeb76c
MD5 4732556e4d9ca310eb9eec04443247f8
BLAKE2b-256 770849cd699a8e73b543bfc4594685f6d80f3e9c8268322194f11821981d7a5e

See more details on using hashes here.

File details

Details for the file configvault_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for configvault_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ba3b59d8d817b05e9b8b0c956e8ca5506c33f1c153c5c03b09771413e33aac5
MD5 19c92493fc6a0649f409ae8046856fbb
BLAKE2b-256 c215dc87587fbb1fe16fd7299b042af985845cc6f75f484f5b5a2b6311f28c4a

See more details on using hashes here.

Supported by

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