This release is a pre-release and may not be stable for production use.
config_resolver
- Full Documentation
- Repository
- PyPI
Rationale
Many of the larger frameworks (not only web frameworks) offer their own configuration management. But it looks different everywhere. Both in code and in usage later on. Additionally, the operating system usually has some default, predictable place to look for configuration values. On Linux, this is /etc and the XDG Base Dir Spec (This instance is based on 0.8 of this spec).
The code for finding these config files is always the same. But finding config files can be more interesting than that:
If config files contain passwords, the application should issue appropriate warnings if it encounters an insecure file and refuse to load it.
The expected structure in the config file can be versioned (think: schema). If an application is upgraded and expects new values to exist in an old version file, it should notify the user.
It should be possible to override the configuration per installed instance, even per execution.
config_resolver tackles all these challenges in a simple-to-use drop-in module. The module uses no additional external modules (no additional dependencies, pure Python) so it can be used in any application without adding unnecessary bloat.
Metadata
Release files for config-resolver 5.0.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| config_resolver-5.0.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / config_resolver-5.0.0a1-py3-none-any.whl
| Download URL | config_resolver-5.0.0a1-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28f79d39b5e5b24473a10c91ae80a322e8c57ef0a2896876ce7e81cb56c3bc3a
|
|
BLAKE2b-256 checksum How to use checksums |
bfa3ccbf8e01cc4d6455c8fc2bf55106adcf45b20e0f3559194f161234e0409b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |