Decouple config with support for secrets directory (e.g., Docker secrets)
Project description
Decouplet
- A tiny wrapper around
python-decouplethat adds support for reading secrets from a directory (like Docker secrets).
Usage
from decouplet import config
DATABASE_PASSWORD = config("DATABASE_PASSWORD")
By default, it looks in /run/secrets/. Set SECRETS_PATH environment variable to override.
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
decouplet-0.1.0.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file decouplet-0.1.0.tar.gz.
File metadata
- Download URL: decouplet-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd79e7f5901dc1f6c578f7ef62e27e9b1b27b87ca63505d2c873128046f82ad0
|
|
| MD5 |
62caff3f60565fc1944e363f649c3c6f
|
|
| BLAKE2b-256 |
d421f113c9dad93b74e1d0f92a3017181cd5fac5bd18df5971a8e91d83d1762f
|
File details
Details for the file decouplet-0.1.0-py3-none-any.whl.
File metadata
- Download URL: decouplet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a39e996f29430391b38732fe55df01358ecfa5b228bcf1404277c293f45840c
|
|
| MD5 |
5467262b1639dce20364029dc23ab524
|
|
| BLAKE2b-256 |
a97fb1947999dfccfd98cd73293118193b728491625cfec429da0bb2785b9cbc
|