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.3.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.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for decouplet-0.1.3.tar.gz
Algorithm Hash digest
SHA256 514af1aa576adf33f001d2f407cea54e68482d2dc29e6a0429a39f86369a4591
MD5 da56d1666d7a49651113beee9e221747
BLAKE2b-256 820d45b656e52c84bfdf6f19268cf6185bbb27a21f5005b26f865a1fdcb3ca43

See more details on using hashes here.

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

Hashes for decouplet-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 658a54c76aafc364cd14573b702eabd7d43d2cdbfd8a6d2ffa5de46fd69709e0
MD5 08b5f36b9cbb20fa4aef56c2358a67d5
BLAKE2b-256 63acba5951312a1201baabca11045bd73af91655e1c4c220306edea0b6cda136

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