Skip to main content

No project description provided

Project description

PyPI Conda Version 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.16.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

dicfg-0.0.16-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

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

Hashes for dicfg-0.0.16.tar.gz
Algorithm Hash digest
SHA256 de62e85469a28fe7fe7018a969bc8e3c2c9f0228544eb9c1274016824bd94b29
MD5 0e84c287a857b6286ffe607b04434762
BLAKE2b-256 fd4a5ac2139f76cedbc95f2277a81746ed89a02cfca9d1c632e0e9b9eddc9d0b

See more details on using hashes here.

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

Hashes for dicfg-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 bc4aca2187895b73545c1832a06799edd08754f19928c7f44291ed02d1c33568
MD5 30c36b8c556e2ac03419c73addf07654
BLAKE2b-256 518f6d9ef24f7059909c4a7528a3b95b68facb6513186afd1e696051f451a643

See more details on using hashes here.

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