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.18.tar.gz
(12.1 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.18-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file dicfg-0.0.18.tar.gz.
File metadata
- Download URL: dicfg-0.0.18.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5a6f2484b093d269b0da634434bdcc7b84a4e852ab52f27136710ebdc06c044
|
|
| MD5 |
c13f48859b0ac76db5adab69da5faa8e
|
|
| BLAKE2b-256 |
9ff76cb3f260501d4b4e93537d54615789dd7d66885b5e6e703a6f45fecafd86
|
File details
Details for the file dicfg-0.0.18-py3-none-any.whl.
File metadata
- Download URL: dicfg-0.0.18-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd040f234fb68d64fdcb556b9a709c8f3e507da21dc3497badc1a61dc75b0e42
|
|
| MD5 |
51a0d60b5b5f111d391358de9973ad1c
|
|
| BLAKE2b-256 |
e12733774d5562ddb002185a796e644dfcf149962589117886bb15158bac1974
|