Skip to main content

Configuration system

Project description


Backdrop is a configuration system that keeps your settings out of source control.

It's curently JSON based. Other formats may be available in the future.


pip install backdrop

Configuration files must be stored in `~/.backdrop/`.

For example, create a new project configuration file:

touch ~/.backdrop/myproject.json

Open it with your favorite editor:

vim ~/.backdrop/myproject.json

Save your settings, e.g.:

"database": {
"username": "myproject",
"password": "53cr3tp455w0rd"

In your project, include `backdrop` and load the configuration:

from backdrop import Backdrop

config = Backdrop('myproject')

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

backdrop-0.0.1.tar.gz (791 Bytes view hashes)

Uploaded source

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