Skip to main content

dj_settings: project settings the UNIX way

tests license 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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dj_settings-6.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for dj_settings-6.0.0.tar.gz
Algorithm Hash digest
SHA256 8540c10890b722056be442e3f306adbf9884f75fd505a58fe4310f674664b033
MD5 ce05aa240edf429531d3e313a13e8738
BLAKE2b-256 c31663c4e0da735b119ca9c82dd9c5e3e8ae82a691dd79f0316fe8225959eaa4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dj_settings-6.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for dj_settings-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70d1525a70d0a5c2eb5097a554f1678b1f7c352366ee45d1b05145ed52e08fbe
MD5 cb00badc78280c543cddbc22b42091f5
BLAKE2b-256 cc876a7c11fd9bb5874593417fd983fdb564ad0d6acae602b6ebf9dbe36ffc6f

See more details on using hashes here.

Release history Release notifications | RSS feed

9.0.0

2 files

8.0.0

2 files

7.0.0

2 files

This release

6.0.0 This release

2 files

5.0.0

2 files

4.2.1

2 files

4.2.0

2 files

4.1.0

2 files

4.0.0

2 files

3.0.1

2 files

3.0.0

2 files

2.1.0

2 files

2.0.0

2 files

1.0.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page