Skip to main content

CONFspirator: Plot better configs!

http://img.shields.io/pypi/v/confspirator.svg

An offshoot of OpenStack’s oslo.config with a focus on nested configuration groups, and the ability to use yaml and toml instead of flat ini files.

CONFspirator doesn’t include any command-line integrations currently so you will need to add a command to your application to export a generated config using the built in functions.

It does have support for loading in config files, or a preloaded config dictionary against your config group tree.

The library’s focus is on in-code defaults and config field validation, while giving you a lot of power when dealing with nesting, dynamic config loading for plugins, and useful overlay logic.

It allows you to define sane defaults, document your config, validate the values when loading it in, and provides useful ways of working with that config during testing.

Installation

pip install confspirator

Documentation

For more information and examples of usage check out the docs.

Metadata

Release files for confspirator 0.3.0

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

Source distribution (sdist)

Source distribution for confspirator 0.3.0
File Size Uploaded
confspirator-0.3.0.tar.gz 36.6 kB Details

Release files / confspirator-0.3.0.tar.gz

Download URL confspirator-0.3.0.tar.gz
Size 36.6 kB
Tags Source
SHA-256 checksum
How to use checksums
065c22e8c317c623668fd71c6c40038829b934ec320785c7d21e05b6a5b2c711
BLAKE2b-256 checksum
How to use checksums
966965612987eac23dfeac03978011ad7e9d7372b66578677b6ee32f414082bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.10

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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