Skip to main content

Django Typed Settings

Type validation for bare django configuration settings system. Alternative to django-environ and somehow pydantic

Example

# /settings.py

# Default Django way
TIMEOUT = 80                             # Hardcoded
TIMEOUT = os.environ.get("TIMEOUT", 80). # Environment, non-type safe

# Django Typed Settings
TIMEOUT = env_key('TIMEOUT', as_type=int, default=80) # Runtime checkable, type safe

Metadata

Release files for django-typed-settings 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-typed-settings 0.1.1
File Size Uploaded
django_typed_settings-0.1.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-typed-settings 0.1.1
File Interpreter ABI Platform
django_typed_settings-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / django_typed_settings-0.1.1.tar.gz

Download URL django_typed_settings-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2f4a8de8846f96590a453433976b604303b1dd14ab93056ed9ced68d56951be6
BLAKE2b-256 checksum
How to use checksums
98dbe32d56b206435a2afc7f8e7be353f90ddcc66f40aecf102dc89f2702290b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.12.7 Darwin/24.1.0

Release files / django_typed_settings-0.1.1-py3-none-any.whl

Download URL django_typed_settings-0.1.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d502a21aae1c2cbff28f54277702d7ba800fc3abbab72a9a53201551cf6bab09
BLAKE2b-256 checksum
How to use checksums
a6c4d3b1614cc23fb842e1470d98e19ec33d5f3784d0917b56990e6e7c8c19d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.12.7 Darwin/24.1.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release 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