Skip to main content

A python module for env variable and config file management.

Project description


A python module for env variable and config file management. Inspired from webpack configuration management, config-store support multi-stage configs merger. For information security, separation of sensitive settings are also provided.


pip install configstore


import configstore
print(configstore.get("foo", default_value="not found QQ"))
# >>> 'bar'

Config Setting

- secret
    - secret.default.json
    - secret.pd.json
- config.default.json [requried]
- config.pd.json 

Config Read Order

  1. ENV variable
  2. stage config
  3. default config
  4. default value

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

config-store-0.0.4.tar.gz (2.2 kB view hashes)

Uploaded source

Built Distribution

config_store-0.0.4-py3-none-any.whl (3.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