{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"}],"enrichment":{"capability":"Loads and merges configuration from multiple sources (defaults, files, environment variables) into a single immutable object while tracking where each value came from.","skillfed_tags":["configuration-management","environment-variables","cross-platform"],"use_cases":["Debug which configuration source set a value by calling config.origin(\"key.path\") instead of tracing through multiple files and environment variables.","Deploy configuration across test, staging, and production environments by selecting profiles without hand-merging separate environment setups.","Scaffold and deploy configuration files to Linux, macOS, and Windows machines without hardcoding platform-specific paths like /etc/myapp/.","Keep secrets out of version control by letting environment variables and .env files override committed config files automatically.","Use the CLI to inspect, validate, or deploy configuration without writing Python code in deployment scripts."],"what_it_does":"lib_layered_config solves the problem of configuration authorship tracking. When a setting reaches your program through multiple sources\u2014defaults, config files, environment variables, `.env` files\u2014it becomes hard to debug which source won. This library deep-merges configuration from six layers (defaults, app, host, user, dotenv, environment) in a fixed precedence order and returns an immutable Config object that remembers exactly which layer and file each value came from. You can ask for a value and also ask where it came from, collapsing configuration debugging from a guessing game into a lookup.\n\nThe library handles cross-platform path discovery (Linux XDG, macOS, Windows), supports configuration profiles (separate trees for test, staging, production), and includes both a Python API and a CLI for reading, deploying, and scaffolding configs. It uses rtoml for fast TOML parsing and supports TOML, JSON, and optional YAML formats. The design keeps secrets out of committed files by letting environment variables and `.env` outrank file-based config, and it provides safe deployment with automatic backups and conflict handling.","worth_installing":"Yes. The package solves a real debugging pain point (configuration provenance) with a clean API, has low install friction, active maintenance, no known vulnerabilities, and a permissive license. It is worth installing if you need to track where configuration values come from or manage multi-layer config across platforms; skip it if your application has simple, single-source configuration."},"id":"lib-layered-config","links":{"html":"https://skillfed.io/packages/lib-layered-config","md":"https://skillfed.io/packages/lib-layered-config.md","pypi":"https://pypi.org/project/lib-layered-config/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-30","license_spdx":null,"license_treatment":"permissive","name":"lib-layered-config","python_support":"supports_current","summary":"Cross-platform layered configuration loader for Python"},"popularity":{"monthly_downloads":128877,"position":11693,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.6.2"}
