Skip to main content

project settings the UNIX way

Project description

dj_settings: project settings the UNIX way

build lint tests license codecov readthedocs pypi downloads code style: black build automation: yam Lint: ruff

dj_settings offers way to add project settings in a way that has been battle-tested for years in numerous UNIX apps, reading from the value /etc/<config_file> or ~/.config/<config_file> or /path/to/project/<config_file> or an ENV VAR, allowing overriding from the next read location. All of them allow overriding /path/to/config/file.ext with /path/to/config/file.ext.d/<filename>.ext. It started by targeting django, but it has grown to be used as a general settings or config parser.

Usage

dj_settings will read from various config files to get the value of a variable, in a way that's very familiar to all UNIX users. It allows setting default values, and overriding with ENV VARs and .d directories.

Links

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

dj_settings-8.0.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

dj_settings-8.0.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file dj_settings-8.0.0.tar.gz.

File metadata

  • Download URL: dj_settings-8.0.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.16

File hashes

Hashes for dj_settings-8.0.0.tar.gz
Algorithm Hash digest
SHA256 81974a24dbe8b22fa4c25251fa22eb5fc72b2e8ceef8e85e717da92cd4e4c7bd
MD5 83238d480fd6bc012d25fad428968222
BLAKE2b-256 31e281ad6891c4fd6e3d61f44e632f8e058558e240173440e79194c841ebf4d3

See more details on using hashes here.

File details

Details for the file dj_settings-8.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dj_settings-8.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7773a4ad28f332252387842621dee40f8517d598a8da6ba763c2f7eab48e9a27
MD5 4c66992bc1712a8d733c0a935acd16cb
BLAKE2b-256 3f800689c833827efff08ea8a4dc3a9081e9bba2ffbeb08e2d744b34e1d367b7

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