=============
.. image:: https://travis-ci.org/felixcarmona/configcascade.png?branch=master
:target: https://travis-ci.org/felixcarmona/configcascade
.. image:: https://coveralls.io/repos/felixcarmona/configcascade/badge.png?branch=master
:target: https://coveralls.io/r/felixcarmona/configcascade?branch=master
.. image:: https://pypip.in/d/configcascade/badge.png
:target: https://pypi.python.org/pypi/configcascade/
:alt: Downloads
.. image:: https://pypip.in/v/configcascade/badge.png
:target: https://pypi.python.org/pypi/configcascade/
:alt: Latest Version
A simple Configuration System which allows you to import and override or merge configuration parameters
Example
-------
.. code-block:: python
from configcascade import Settings, YamlFileLoader
file_loader = YamlFileLoader()
settings = Settings(file_loader, ['foo']) # the second parameter are a the settings you which you want to merge instead of override when you import
result = settings.compile("file_a.yml")
**file_a.yml:**
.. code-block:: yaml
imports:
- file_b.yml
- file_c.yml
foo:
- x
- y
- z
test:
- a
**file_b.yml:**
.. code-block:: yaml
foo:
- 5
- 7
bbbb: 8
**file_c.yml:**
.. code-block:: yaml
test:
- b
**The generated result will be:**
.. code-block:: yaml
foo:
- x
- y
- z
- 5
- 7
bbbb: 8
test:
- a
Metadata
Release files for configcascade 1.0.0
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 |
|---|---|---|---|---|
| configcascade-1.0.0.tar.gz | 2.5 kB | Without provenance | Details for configcascade-1.0.0.tar.gz |
Release files / configcascade-1.0.0.tar.gz
| Download URL | configcascade-1.0.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39727eb68ead546c9dfe36ad99a4323687be2917bd0252a2b4f75b910a2b9c8d
|
|
BLAKE2b-256 checksum How to use checksums |
5078662edfeae0238b2411075654510d28b3ee0fdaffdd0eb2a40cd5df44de34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for configcascade 1.0.0
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.