Skip to main content

Decouple config with support for secrets directory (e.g., Docker secrets)

Project description

Decouplet

  • A tiny wrapper around python-decouple that 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.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

decouplet-0.1.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file decouplet-0.1.2.tar.gz.

File metadata

  • Download URL: decouplet-0.1.2.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

Hashes for decouplet-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f663f02881653aeb215df96695d4ada6e8dc4bc4e42ca0ed078ef164b5d79794
MD5 a24f485ec229892ce719b2676a7c94db
BLAKE2b-256 8a006729128c13fa9c501ca4ff067dae3d04933b1b356423dc2176613d62acff

See more details on using hashes here.

File details

Details for the file decouplet-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: decouplet-0.1.2-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

Hashes for decouplet-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 75845c6ee414f1fa066dfa3b0ece6bf7eaa53a38a9b8cb6e8fe114d7a1683e94
MD5 3f0ef947c63ed3299b0474e4f96cb0a3
BLAKE2b-256 3ccc8b49f2ab84a59755a98b2bfd615a3fbca33d0f7656209b4e3bbccf568680

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page