Yaml Configuration
This library provides a means to read yaml configuration files and propagate default values in reasonable ways. Nothing complicated.
Installation: pip install yamlconfig
- Example:
>>> import yamlconf >>> >>> doc = yamlconf.loads(""" ... test: demo_test ... ... tests: ... defaults: ... foo: 5 ... demo_test: ... bar: 6 ... """) >>> >>> doc['tests'][doc['test']]['foo'] 5 >>> doc['tests'][doc['test']]['bar'] 6- Functions:
load(file-like) : Returns a dict with defaults propagated
loads(string) : Returns a dict with defaults propagated
load_module(class-path) : Imports and returns
Metadata
Release files for yamlconf-wmf 0.2.10
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 |
|---|---|---|---|---|
| yamlconf-wmf-0.2.10.tar.gz | 4.7 kB | Without provenance | Details for yamlconf-wmf-0.2.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yamlconf_wmf-0.2.10-py3-none-any.whl | Python 3 | none | any | Details for yamlconf_wmf-0.2.10-py3-none-any.whl |
Total release size: 12.8 kB
Release files / yamlconf-wmf-0.2.10.tar.gz
| Download URL | yamlconf-wmf-0.2.10.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30d21a2331819392885d35877fde171a1f7e169ab5db3e74b98db1b7373f3a4a
|
|
BLAKE2b-256 checksum How to use checksums |
5fbbdbac02abe0bc78cfe8c2b2588fe41e732deb223ea9cc534d438dc8acaa1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / yamlconf_wmf-0.2.10-py3-none-any.whl
| Download URL | yamlconf_wmf-0.2.10-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d56dfd2d9c14ca06a274e001ea61c6097402775ab56e6e203b76fe1e2902a2a
|
|
BLAKE2b-256 checksum How to use checksums |
5f55265fb0d0c3a81dfe98b62dfeea7e71272762bd5140ab289344b5d9b20850
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for yamlconf-wmf 0.2.10
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.