Skip to main content

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/

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dicfg-0.0.18-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

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

Hashes for dicfg-0.0.18.tar.gz
Algorithm Hash digest
SHA256 c5a6f2484b093d269b0da634434bdcc7b84a4e852ab52f27136710ebdc06c044
MD5 c13f48859b0ac76db5adab69da5faa8e
BLAKE2b-256 9ff76cb3f260501d4b4e93537d54615789dd7d66885b5e6e703a6f45fecafd86

See more details on using hashes here.

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

Hashes for dicfg-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 cd040f234fb68d64fdcb556b9a709c8f3e507da21dc3497badc1a61dc75b0e42
MD5 51a0d60b5b5f111d391358de9973ad1c
BLAKE2b-256 e12733774d5562ddb002185a796e644dfcf149962589117886bb15158bac1974

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.18 This release

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

0.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page