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

Uploaded Python 3

File details

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

File metadata

  • Download URL: decouplet-0.1.4.tar.gz
  • Upload date:
  • Size: 3.3 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.4.tar.gz
Algorithm Hash digest
SHA256 4f2943f73a138da0d7c73a085c5aa9ae648fb20c2ae4d0edb2a60c48cef67357
MD5 5af6e7c7f10ffbfc872a25d8df654792
BLAKE2b-256 daf103487ab524dc18aee2fc0f4dc5bdc0aae8586ec928521f35711271da5249

See more details on using hashes here.

File details

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

File metadata

  • Download URL: decouplet-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d9c76c8454203bf75257624a578becae121097af10833a0c61e5aceef0654993
MD5 6db0db93fd0a91b7677ebcc203e53621
BLAKE2b-256 f57e56256ac20487455e6937f4f705e5eb406c8eb45f93ead0710b6681b5af13

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