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
File details
Details for the file config_resolver-5.1.0.tar.gz
.
File metadata
- Download URL: config_resolver-5.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 404f776a8270dc2dd6046e80abf0a4ce118859bdd1082a7c6e8fa0161b0ef12b |
|
MD5 | 5a40b0492dfc2ba02f138d0eeb838fe9 |
|
BLAKE2b-256 | 63bd1c687689b2bd07eb32dbf880e1fa7c826c7761d5d52c1f394daf5b051197 |
File details
Details for the file config_resolver-5.1.0-py3-none-any.whl
.
File metadata
- Download URL: config_resolver-5.1.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952c3ad749c97e5f065d7a067853f8fc8030bc46c15eb7e4bc39def81ab328cc |
|
MD5 | 0ef4f5f9eacd2713ef026f72f91a0c25 |
|
BLAKE2b-256 | 059af17a26b5055728d6071fe6d2831b179328f090edb1110cde657dff1e43e0 |