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.15.tar.gz
(9.2 kB
view hashes)
Built Distribution
dicfg-0.0.15-py3-none-any.whl
(9.1 kB
view hashes)