Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

dpdpkit-django

Django app for dpdpkit. It will add consent, versioned notices, rights requests and retention to your Django project, with tables in your own database.

Disclaimer. dpdpkit is software that helps you implement obligations under India's Digital Personal Data Protection Act, 2023 and the DPDP Rules, 2025. It does not provide legal advice and does not guarantee compliance. Decisions about notices, purposes, retention and incident reporting must be made by you or your counsel.

Status

Alpha. Version 0.1.0a2 is the first working pre-release (pip install --pre dpdpkit-django). APIs can still change between pre-releases.

It includes the dpdpkit.django app with models, migrations and DjangoRepository, an implementation of the dpdpkit Repository on the Django ORM (Postgres, MySQL, SQLite), and the dpdpkit REST contract as URLs and views (include("dpdpkit.django.urls"); a DRF viewset when rest_framework is installed, plain JSON views otherwise), configured through settings.DPDPKIT, and consent checks for views: @requires_consent("marketing") for function views and RequiresConsentMixin (consent_purposes = ("marketing",)) for class-based views. With django.contrib.admin installed you also get a read-only compliance back-office: a request queue with SLA countdowns, consent and audit ledger viewers, a retention monitor and a legal-hold list. Scheduled work runs from cron with the management commands dpdp_run_retention, dpdp_verify_ledger (exits non-zero when a ledger chain is broken) and dpdp_export (--principal, --evidence-pack, --root-file), or from Celery beat with the tasks in dpdpkit.django.tasks (pip install "dpdpkit-django[celery]"). For app-specific hooks there are the signals consent_withdrawn, erasure_due and request_opened (dpdpkit.django.signals), and for server-rendered sites the template tags {% dpdp_notice %} and {% dpdp_preferences %} ({% load dpdpkit %}). The admin dashboard is served at <prefix>/admin/ui/ (for example /dpdp/admin/ui/). A runnable ed-tech demo with a parent/guardian consent flow for child accounts is in examples/django-school.

Documentation: https://dpdpkit-dev.github.io/dpdpkit-docs/dev/

License

Apache-2.0. See LICENSE. Contributions need a DCO sign-off; see CONTRIBUTING.md.

Metadata

Release files for dpdpkit-django 0.1.0a3

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

Source distribution (sdist)

Source distribution for dpdpkit-django 0.1.0a3
File Size Uploaded Provenance Actions
dpdpkit_django-0.1.0a3.tar.gz 203.5 kB With provenance Details for dpdpkit_django-0.1.0a3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dpdpkit-django 0.1.0a3
File Interpreter ABI Platform Actions
dpdpkit_django-0.1.0a3-py3-none-any.whl Python 3 none any Details for dpdpkit_django-0.1.0a3-py3-none-any.whl

Total release size: 396.4 kB

Release files / dpdpkit_django-0.1.0a3.tar.gz

Download URL dpdpkit_django-0.1.0a3.tar.gz
Size 203.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d4cf8dde2f80dfb0e9f95dd87f42b4bcf3ccab92600c0a54efa62d3779429dce
BLAKE2b-256 checksum
How to use checksums
f710749b390a312d9463c66b4fed77ce9a4f1311aea0e406ce6afb8d7819a5f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / dpdpkit_django-0.1.0a3-py3-none-any.whl

Download URL dpdpkit_django-0.1.0a3-py3-none-any.whl
Size 192.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f65be358b05519b8c423c1550c287580da8fbd62d84a2295eba86c41acf1b579
BLAKE2b-256 checksum
How to use checksums
30fd5a742c204aec05443fb007ebc0a8e59c45b758aff56d3f0d0d103b0dfabe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for dpdpkit-django 0.1.0a3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dpdpkit_django-0.1.0a3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

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.

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