Skip to main content

No project description provided

Project description

PyPI Conda (channel only) docs CI Tests Coverage Status GitHub PyPI - Python Version DOI

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

https://martvanrijthoven.github.io/dicfg/

Project details


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.14.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

dicfg-0.0.14-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page