project settings the UNIX way
Project description
dj_settings: project settings the UNIX way
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
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-5.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d1218bc7392389172bbe65b56a9e739a9a0856f4bd15a3aa6afc4842df29578 |
|
MD5 | 46ebebb98cc2313449a81671cead3d5e |
|
BLAKE2b-256 | f20fb74afa85545bded8b76caa22b63039a22ec74470ea62f84531367a4e29d1 |