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.3.tar.gz
(3.2 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.3.tar.gz.
File metadata
- Download URL: decouplet-0.1.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
514af1aa576adf33f001d2f407cea54e68482d2dc29e6a0429a39f86369a4591
|
|
| MD5 |
da56d1666d7a49651113beee9e221747
|
|
| BLAKE2b-256 |
820d45b656e52c84bfdf6f19268cf6185bbb27a21f5005b26f865a1fdcb3ca43
|
File details
Details for the file decouplet-0.1.3-py3-none-any.whl.
File metadata
- Download URL: decouplet-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
658a54c76aafc364cd14573b702eabd7d43d2cdbfd8a6d2ffa5de46fd69709e0
|
|
| MD5 |
08b5f36b9cbb20fa4aef56c2358a67d5
|
|
| BLAKE2b-256 |
63acba5951312a1201baabca11045bd73af91655e1c4c220306edea0b6cda136
|