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.17.tar.gz
(12.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
dicfg-0.0.17-py3-none-any.whl
(13.9 kB
view details)
File details
Details for the file dicfg-0.0.17.tar.gz.
File metadata
- Download URL: dicfg-0.0.17.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97314751b6a604f3fe053caa471cefd940d8238df37f5514d1d517a68123c126
|
|
| MD5 |
e874aa79c8b15f7b235dcf3dbeb20e50
|
|
| BLAKE2b-256 |
d46a90183dbd153049811e0022371d1a62a7ce07f2013f7e33b2b863fd430d78
|
File details
Details for the file dicfg-0.0.17-py3-none-any.whl.
File metadata
- Download URL: dicfg-0.0.17-py3-none-any.whl
- Upload date:
- Size: 13.9 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 |
4d3cc0d0192fc9da2babb0813d8bca48064cda9939bf2c8f5b00580b153a4c3d
|
|
| MD5 |
c1293b94b2b49c947f838717114e1764
|
|
| BLAKE2b-256 |
9542983d450510d5a582e370d1485b4369f8679755939c39d45de394ef9809c0
|