Skip to main content

A cascading configuration file object built on top of the ConfigParser

Load a series of configuration files where later files shadow earlier

For example loading 3 configuration files in order:

  1. default:

    [main] foo: 1 bar: 2 baz: 3

  2. user (~/.foo_module):

    [main] foo: 4 bar: 5

  3. local (./foo_module):

    [main] foo: 7

Will result in:

foo == 7 bar == 5 baz == 3

Also, parse command line options such as:

./script.py main foo 10

Metadata

Release files for cconfig 1.2.1

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

Source distribution (sdist)

Source distribution for cconfig 1.2.1
File Size Uploaded
cconfig-1.2.1.tar.gz 5.4 kB Details

Release files / cconfig-1.2.1.tar.gz

Download URL cconfig-1.2.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6004dafd60fce16cc92b1930fc40c68c1bda22ac7426e3fb1870c23bf5ca1d3a
BLAKE2b-256 checksum
How to use checksums
8a6d6ce4539de01eb966b2290c24412fc2cea027faa0d4d2484d3e7de6fe551b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 release file

1.1.1

1 release file

1.1

1 release file

1.0

1 release file

dev

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