A small package to automatically find a configuration file.
Project description
- Full Documentation
- Repository
- PyPI
config_resolver provides a simple, yet flexible way to provide configuration to your applications. It follows the XDG Base Dir Spec (This instance is based on 0.8 of this spec) for config file locations, and adds additional ways to override config locations. The aims of this package are:
Provide a simple API
Follow well-known standards for config-file locations
Be as close to pure-Python as possible
Be framework agnostic
Allow custom configutaion types (.ini and .json support is shipped by default)
Allow to provide system-wide defaults but allow overriding of values for more specific environments. These are (in increasing order of specificity):
System-wide configuration (potentially requiring root-access to modify)
User-level configuration (for all instances running as that user)
Current Working Directory configuration (for a running instance)
Per-Instance configuration
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for config_resolver-5.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee2d2eea9867bc14997d6670b803ceae9306de5561dd1e6a5ad9f30f6cdde31a |
|
MD5 | 45f09f1fdbd675c858af427c44b94029 |
|
BLAKE2b-256 | 3faffd504c11c4c9f3639db6fa1070f27acb3b77ae7f3fc748185729fa5639e5 |