DNRY-Config
A multi-source configuration library.
The goal of DNRY-Config is to simplify configuration loading and overriding. With DNRY-Config you can easily specify several configuration sources and use them from your application without dealing with the details.
DNRY-Config resolve conflicts and provides namespaced access to keys to support well organized configuration files.
Quick Start
Install DNRY-Config
pip install dnry_config
Read a Yaml file in your program.
from dnry.config import ConfigFactory
from dnry.config.yaml import YamlSource
conf = ConfigurationFactory([
YamlSource("./config1.yaml")
]).build()
config_value = conf.get("app:message")
There are many examples in the samples/ directory.
Metadata
Release files for dnry-config 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dnry_config-0.1.4.tar.gz | 5.4 kB | Without provenance | Details for dnry_config-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dnry_config-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for dnry_config-0.1.4-py3-none-any.whl |
Total release size: 14.2 kB
Release files / dnry_config-0.1.4.tar.gz
| Download URL | dnry_config-0.1.4.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2970efd6d410e8377b6169e4c43231cec0df6192b5bed88b4f6cccb06bf53858
|
|
BLAKE2b-256 checksum How to use checksums |
4cd7b5d10ce959c597a733cbe5000139ffbde04df857769ab53ce22596faa4fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1
|
Release files / dnry_config-0.1.4-py3-none-any.whl
| Download URL | dnry_config-0.1.4-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24e341ad7949a61c2c71d9f7f1b4cb20ad6754a417d3e69086358ffded7e9d28
|
|
BLAKE2b-256 checksum How to use checksums |
befb0c228b027e364c01cfeab124b3c2fbbf6ad923ba4be9a5eca741c3940e3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1
|
Security for dnry-config 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.