project settings the UNIX way
Project description
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/<conf_path> or ~/.config/<conf_path> or <proj_path>/<conf_path> or an ENV VAR, allowing overriding from the next read location. It’s mainly targeting django, but it can be used as a general settings parser
In a nutshell
Installation
The easiest way is to use poetry to manage your dependencies and add dj_settings to them.
[tool.poetry.dependencies]
dj_settings = "^3.0.1"
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.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dj_settings-3.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1031c0207bf9e0c5d5c3d2cf3a28dcfb70f72930ae2c3e657acb0566507758d |
|
MD5 | 9639f366cf64c9abc08bbfb368e7dff4 |
|
BLAKE2b-256 | ab7a02b96e682f3898e00c53bee99b8e980a57b482d825eee6f1426534251ed3 |