PyStaticConfiguration
A python library for loading static configuration
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later.
- 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 · maintenance · safety
APACHE20 (permissive) — Licensed under Apache Software License (permissive), imposing no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2022-10-22 (1392 days) · last repo commit 2025-09-04 · 64 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 124,825 downloads/mo, #11,851 on PyPI
Alternatives
Verify before relying
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')- 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.
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 on this page. Verify before relying on it.
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
pystaticconfiguration on PyPI
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.
Requires Python 3.6 or later.
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')
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 the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Aging 1,392 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 124,825 / month, #11,851 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: PyPy |
Evidence: PyStaticConfiguration-0.11.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type-validated config reader”
- PyStaticConfigurationLoads, validates, and reads configuration from multiple file formats…
- fhconfparserReads configuration files in INI, TOML, or JSON format through a…
- maisonMaison reads configuration settings from files like pyproject.toml…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also dynaconf · setoptconf · draccus · hierarchical-conf · django-settings-holder · paradict · confuse · setoptconf-tmp · INITools · azure-eventgrid