Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A config library for handling nested incode config groups.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for confspirator, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size confspirator-0.2.2.tar.gz (34.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page