Registry / devops / spring-config-client-python

spring-config-client-python

JSON →
library0.1.3pypypi✓ verified 34d ago

Lightweight Spring Cloud Config client for Python, version 0.1.3, released April 2025. Fetches configuration from Spring Cloud Config Server and supports property sources merging. Active development with monthly releases.

devopshttp-networking
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

v0.1.0 had client submodule; v0.1.1+ exports from top level

from spring_config_client import SpringConfigClient

Initialize client with Spring Cloud Config Server URL, application name, and profile.

import os from spring_config_client import SpringConfigClient client = SpringConfigClient( uri=os.environ.get('SPRING_CONFIG_URI', 'http://localhost:8888'), name='myapp', profiles=os.environ.get('SPRING_CONFIG_PROFILE', 'default') ) config = client.get_config() print(config)
Debug
Known footguns
breakingConstructor parameter name changed from 'app' (v0.1.0) to 'name' (v0.1.1+). Must update all code using 'app='.
deprecatedMethod get_config() may be renamed to fetch_config() in future v0.2.0. Check deprecation warnings in logs.
gotchaIf profiles argument is omitted, the client uses 'default' profile. Spring Cloud Config Server may require comma-separated list; ensure profiles string has no spaces around commas.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
10 hits · last 30 days
gptbot
3
ahrefsbot
3
bytedance
2
claudebot
2
Resources