I recently moved projects from Java/Spring Boot to Python and missed the clean, profile-driven application.yml magic — deterministic layering, env var expansion, secrets, and easy binding.
So I built sprig-config: a lightweight, Spring-inspired config lib for Python 3.13+.
Features: - Deep-merge YAML with profile overlays (dev/test/prod) - ${VAR:-default} expansion + fallbacks - Encrypted secrets (ENC(...)) with lazy decryption - Dependency injection / binding to classes/functions - Import chains + circular detection - Debug-friendly _meta (source files, resolution graph)
Quick try: pip install sprig-config
See working code examples (simple load_config, DI binding, secrets, etc.) at: https://pypi.org/project/sprig-config/