Environment variable manager
Project description
Use knobs if you worship at the church of the 12 Factor App
A knob is a wrapper for an environment variable. It can * Read and write an environment variable * Make sure it is of the expected type * Validate a value is good.
knobs will search for a nominated environmental file (default .env) and load that into the environment. A knob is type aware, configured from the environment and its value can be persisted to ease the creation of configuration files.
Knobs uses a forked copy of [python-sotenv](https://github.com/theskumar/python-dotenv)
Install
Install from source pip install .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file knobs-0.2.0.tar.gz
.
File metadata
- Download URL: knobs-0.2.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad0752e2854d954dd2260c4e99cb2f36f8d7300ebd178b81f41de2e54bfed01d |
|
MD5 | e63b11fd5064e10540ff63e5760d1a54 |
|
BLAKE2b-256 | d89f8416362367c6d3b6bdd76c41351be7053e7405320bb32b9ab02d5d27ee52 |