Skip to main content

Python configuration manager.

Project description

Project in early beta. Work in progress!

Conflow organizes layered configurations for Python applications. Conflow allows you to use default settings and extend or override it via merging settings from different sources: - Python dictionaries - Files: yaml, json, ini - Environment variables


pip install conflow


import os
from conflow import Config, from_env

    'db': {
        'master': {
            'host': 'localhost',
            'port': 5432,
        'slave': {
            'host': 'localhost',
            'port': 5433,

config = Config().merge(DEFAULT_SETTINGS)
assert == 'localhost'

os.environ['APP_DB__MASTER__HOST'] = 'remote_host'
env_settings = from_env('APP')

config = Config().merge(DEFAULT_SETTINGS).merge(env_settings)
assert == 'remote_host'


If you are tired of making local, test, stage and production profiles in each project, then Conflow is for you. Conflow allows you to fetch and merge configs from different places - yaml files, environment variables etc.

Project details

Download files

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

Source Distribution

conflow-0.0.2.tar.gz (7.7 kB view hashes)

Uploaded source

Built Distribution

conflow-0.0.2-py3-none-any.whl (8.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page