https://github.com/exhuma/config_resolver
Python library to lookup config files in standard locations
https://github.com/exhuma/config_resolver
Last synced: about 1 year ago
JSON representation
Python library to lookup config files in standard locations
- Host: GitHub
- URL: https://github.com/exhuma/config_resolver
- Owner: exhuma
- License: mit
- Created: 2012-05-23T14:13:18.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2021-07-13T08:44:43.000Z (almost 5 years ago)
- Last Synced: 2025-04-08T09:45:03.675Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 349 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES
- License: LICENSE.txt
Awesome Lists containing this project
README
config_resolver
===============
Full Documentation
https://config-resolver.readthedocs.org/en/latest/
Repository
https://github.com/exhuma/config_resolver
PyPI
https://pypi.python.org/pypi/config_resolver
``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):
1. System-wide configuration (potentially requiring root-access to modify)
2. User-level configuration (for all instances running as that user)
3. Current Working Directory configuration (for a running instance)
4. Per-Instance configuration