No project description provided
Project description
Dicfg is a configuration system that supports dependency injection via object interpolation in config files.
Main Features
- Loading of predefined config files (YAML and JSON).
- Overwrite config with user_config files/dictionaries, command line interface, and/or presets.
- Customize merge/replace behavior for dictionaries and lists.
- Interpolation support for sub-config files, config variables, environment variables, and python objects.
- Build object instances directly in the config.
- Dependency injection via object interpolation: configure all object dependencies directly in the config.
- Use object attribute interpolation for referencing object attributes directly in the config file.
Installation
pip install dicfg
conda install -c conda-forge dicfg
Docs
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
dicfg-0.0.16.tar.gz
(10.6 kB
view details)
Built Distribution
dicfg-0.0.16-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file dicfg-0.0.16.tar.gz
.
File metadata
- Download URL: dicfg-0.0.16.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de62e85469a28fe7fe7018a969bc8e3c2c9f0228544eb9c1274016824bd94b29 |
|
MD5 | 0e84c287a857b6286ffe607b04434762 |
|
BLAKE2b-256 | fd4a5ac2139f76cedbc95f2277a81746ed89a02cfca9d1c632e0e9b9eddc9d0b |
File details
Details for the file dicfg-0.0.16-py3-none-any.whl
.
File metadata
- Download URL: dicfg-0.0.16-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc4aca2187895b73545c1832a06799edd08754f19928c7f44291ed02d1c33568 |
|
MD5 | 30c36b8c556e2ac03419c73addf07654 |
|
BLAKE2b-256 | 518f6d9ef24f7059909c4a7528a3b95b68facb6513186afd1e696051f451a643 |