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/

Metadata

Release files for dicfg 0.0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dicfg 0.0.18
File Size Uploaded
dicfg-0.0.18.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dicfg 0.0.18
File Interpreter ABI Platform
dicfg-0.0.18-py3-none-any.whl Python 3 none any Details

Total release size: 25.6 kB

Release files / dicfg-0.0.18.tar.gz

Download URL dicfg-0.0.18.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c5a6f2484b093d269b0da634434bdcc7b84a4e852ab52f27136710ebdc06c044
BLAKE2b-256 checksum
How to use checksums
9ff76cb3f260501d4b4e93537d54615789dd7d66885b5e6e703a6f45fecafd86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / dicfg-0.0.18-py3-none-any.whl

Download URL dicfg-0.0.18-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd040f234fb68d64fdcb556b9a709c8f3e507da21dc3497badc1a61dc75b0e42
BLAKE2b-256 checksum
How to use checksums
e12733774d5562ddb002185a796e644dfcf149962589117886bb15158bac1974
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release history Release notifications | RSS feed

This release

0.0.18 This release

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page