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.1.tar.gz (2.5 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.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: decouplet-0.1.1.tar.gz
  • Upload date:
  • Size: 2.5 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.1.tar.gz
Algorithm Hash digest
SHA256 66963270c99e8467ffc433335a4e4c211cc8d3a46104e98f6b78fd3e16a6ca6e
MD5 1894bffa41ec4e08875a46648d6ef3d2
BLAKE2b-256 98a95532696e08e8a30362605a16d059cea7cfa027e2adb498ea234c3fe607b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: decouplet-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 399b4913af3ef0363d7308da131eac0fab004fce0c320ff502e1d952b0b3c930
MD5 7528a8da73d7e13c76971010da4c6b57
BLAKE2b-256 cf69d6b2f3c9a37647473b7280db1a6053f5d9f8a95e93261697e518e83f8a80

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