Skip to main content

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

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-7.0.0.tar.gz (6.9 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-7.0.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dj_settings-7.0.0.tar.gz
Algorithm Hash digest
SHA256 df67182fa4c8bcdbcd81af28956762a7d054bb82920c7727737a6258140ed106
MD5 6c7315f112793e149442c9d0546dbf35
BLAKE2b-256 543a4373b81c524a7466e5a27dfda24c23f07d00daf622de00a2053f8526ead1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dj_settings-7.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6dcedc1fa6bbd2b0d0df0dc5e9120ae8c2e8866e86849b08efcb0486ca37279
MD5 6fc547a7eadb77b173d8767a97ff1d55
BLAKE2b-256 4fd01efffab830a873af4f1a9f41f8c462d04725f9227e0b4a3cc5b8aef5db7b

See more details on using hashes here.

Release history Release notifications | RSS feed

9.0.0

2 files

8.0.0

2 files

This release

7.0.0 This release

2 files

6.0.0

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