Skip to main content

Django Lokconfig

Reusable runtime configuration for Loknus Labs Django applications.

Configuration that belongs to the deployment (secrets, database URLs, broker URLs) stays in environment variables. Configuration that operators and administrators should change without rebuilding the image is stored in a YAML file, validated, migrated, and exposed through a setup and administration API.

pip install django-lokconfig
INSTALLED_APPS = ["lokconfig", ...]
LOKCONFIG_DEFINITION = "myapp.runtime_config.DEFINITION"
# urls.py
path("api/", include("lokconfig.urls"))

See docs/README.md for architecture, API, migrations, the setup wizard, and deployment.

The example project is in example/. example/docker-compose.yml mounts a persistent volume at /data. The reusable React wizard is in frontend/ and is installed with Yarn.

Local development

pip install -e ".[dev]"
pytest
python manage.py check --deploy
cd frontend
yarn install
yarn test
yarn dev

Metadata

Release files for django-lokconfig 1.0.0

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-lokconfig 1.0.0
File Size Uploaded Provenance Actions
django_lokconfig-1.0.0.tar.gz 42.1 kB Without provenance Details for django_lokconfig-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-lokconfig 1.0.0
File Interpreter ABI Platform Actions
django_lokconfig-1.0.0-py3-none-any.whl Python 3 none any Details for django_lokconfig-1.0.0-py3-none-any.whl

Total release size: 93.4 kB

Release files / django_lokconfig-1.0.0.tar.gz

Download URL django_lokconfig-1.0.0.tar.gz
Size 42.1 kB
Tags Source
SHA-256 checksum
How to use checksums
af54287f96361f24390bdcd1bde91dcec3c84b79ad3291dab033c5285b5a2f6b
BLAKE2b-256 checksum
How to use checksums
1759a004dd12e02b48906f0eb511bc11d5fe19c60baabc05042eeaf2620f1fd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / django_lokconfig-1.0.0-py3-none-any.whl

Download URL django_lokconfig-1.0.0-py3-none-any.whl
Size 51.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdfc3572f24f3a9d9cb356d26b8ea8c4edb33781895c3ade792c36ec68ecf6c4
BLAKE2b-256 checksum
How to use checksums
1a8bcf27343a32bc274ad6803280abd3fe956d9e790ab848275e2020dcc736de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for django-lokconfig 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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