Skip to content

Not legal advice

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.

Python API

Generated from the docstrings in dpdpkit-core and dpdpkit-fastapi on main. Everything listed here is importable from the module shown in each heading.

Page What it covers
Kit and configuration Kit, kit_from_config, sync_notice, Policy, Registry
Consent and notices ConsentService, NoticeService
Rights requests RightsService, IdentityVerifier
Retention and erasure RetentionService, ErasureResult
Ledger Ledger, RootSink, FileRootSink
Events and notifications EventBus, webhooks, notifiers
Export Principal export and evidence pack
Storage Repository protocol, InMemoryRepository
Models and errors Pydantic models, enums and exceptions
FastAPI adapter DPDPKit, require_consent, SqlAlchemyRepository

Names that start with an underscore are private and may change in any release.