Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

https://travis-ci.org/exhuma/config_resolver.svg?branch=master
Full Documentation

https://config-resolver.readthedocs.org/en/latest/

Repository

https://github.com/exhuma/config_resolver

PyPI

https://pypi.python.org/pypi/config_resolver

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.0a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for config-resolver 5.0.0a4
File Size Uploaded
config_resolver-5.0.0a4.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for config-resolver 5.0.0a4
File Interpreter ABI Platform
config_resolver-5.0.0a4-py2-none-any.whl Python 2 none any Details

Total release size: 21.3 kB

Release files / config_resolver-5.0.0a4.tar.gz

Download URL config_resolver-5.0.0a4.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
28e0425919f637e70b1306416a159af0f298dc6bee7cd323f8c85ecc6c11c8c4
BLAKE2b-256 checksum
How to use checksums
fd7fd038c9b779b4f97e1dda03ddb6ef3e3a697b1cc7a9b41d32a75e6d7ff344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

Release files / config_resolver-5.0.0a4-py2-none-any.whl

Download URL config_resolver-5.0.0a4-py2-none-any.whl
Size 11.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
63aa3e2abf5b6f88748dd799d63afaa89f380298149f35e9cd402ad231a00144
BLAKE2b-256 checksum
How to use checksums
12cfe8f04acccebe82a93e34802a4bf2f9cd78f8c21e83cd62016e5ff68528e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page