--- id: pystaticconfiguration version: "0.11.1" license: APACHE20 license_treatment: permissive maintenance: aging --- # PyStaticConfiguration — A python library for loading static configuration License: permissive · Maintenance: aging · Downloads: 124.8K/mo ## What it is and what it does PyStaticConfiguration is a configuration management library that separates loading and reading into two distinct phases. In the loading phase, it reads configuration from files or Python objects, flattens the data, and stores it in named namespaces. In the reading phase, it retrieves values from those namespaces, validates them, and converts them to requested types. The library supports merging configuration from multiple sources in sequence and can optionally watch files for changes and reload them with minimal code changes. The package is designed for applications that need to manage configuration across heterogeneous sources—combining defaults from global files, user overrides, and environment variables. It trades active maintenance for stability: the codebase is marked Production/Stable and has been in use since its early releases, but the last release was in October 2022 and there are no recent commits. It depends only on typing-extensions, making it lightweight to install. Use it for: - Load application settings from a YAML file, then override specific values with environment variables. - Manage separate configuration namespaces for different services or environments within a single application. - Implement configuration hot-reloading in a long-running service that needs to pick up changes without restarting. - Merge configuration from multiple sources in a predictable order with later sources overriding earlier ones. - Read and validate typed configuration values with automatic conversion from string sources. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Loads, validates, and reads configuration from multiple file formats into typed namespaces, with optional hot-reloading support. Yes, if you need multi-format configuration loading with type validation and your project targets Python 3.6+. The library is stable and has low install friction, but be aware that maintenance is stalled—last release was October 2022 with no recent commits. It is suitable for established applications that do not require active development, but consider alternatives if you need ongoing support or modern dependency updates. ## Install pip install pystaticconfiguration uv add pystaticconfiguration poetry add pystaticconfiguration ## Installing PyStaticConfiguration Before you install: Low install friction with a single runtime dependency. Maintenance is aging—last release was 2022-10-22 and the repository shows no recent activity, though it remains archived=false and supports current Python versions. License in practice: Licensed under Apache Software License (permissive), imposing no restrictions on use, modification, or distribution in proprietary or open-source projects. Quickstart: pip install PyStaticConfiguration import PyStaticConfiguration # Load configuration from a file into a namespace PyStaticConfiguration.YamlConfiguration('config.yaml', namespace='app') # Read a value from that namespace value = PyStaticConfiguration.read('database.host', namespace='app') Requires Python 3.6 or later. Verify before relying: - Whether the package's type conversion and validation capabilities cover common use cases beyond basic reads. - Performance characteristics when reloading large configuration files or managing many namespaces. - Compatibility with modern YAML/INI libraries and whether dependency updates are needed. - Current state of the repository and whether it accepts contributions or security updates. ## Package facts - License: APACHE20 (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 124.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags configuration file loading, yaml ini config parser, type-validated config reader, multi-format config management, configuration hot reload, config namespace management, static configuration library, configuration-management, yaml-ini-parser, hot-reload [View on SkillFed](https://skillfed.io/packages/pystaticconfiguration) · [View on PyPI](https://pypi.org/project/pystaticconfiguration/)