django-GDPR-assist
Tools to help manage your users’ data in the age of GDPR
https://github.com/wildfish/django-gdpr-assist
Features
Find, export and anonymise personal data to comply with GDPR requests
Track anonymisation and deletion of personal data to replay after restoring backups
Anonymise all models to sanitise working copies of a production database
Supports Django 2.2 to 4.0, on Python 3.6 to 3.10.
See the full documentation for details of how GDPR-assist works; in particular:
Installation - how to install
Usage - overview of how to use it with your project
Upgrading - what has changed from previous versions and how to upgrade
Contributing - how to contribute to the project
Quickstart
Install with pip install django-gdpr-assist, add gdpr_assist to Django’s INSTALLED_APPS and add a gdpr_log definition to DATABASES.
Then start adding privacy metadata to your models:
class Comment(models.Model):
name = models.CharField(max_length=255, blank=True)
age = models.IntegerField(null=True, blank=True)
message = models.TextField()
class PrivacyMeta:
fields = ['name', 'age']
search_fields = ['name']
export_fields = ['name', 'age', 'message']
This will allow you to anonymise and export data in this model using the standard gdpr-assist admin tool. You can also configure anonymisation or deletion of a related model to trigger anonymisation of your model, and can manually register a PrivacyMeta for third-party models without modifying their code.
Anonymisation and deletion events for models registered with gdpr-assist are logged for replay after a backup restoration with the gdpr_rerun management command. When you need to work with a copy of the production data, there is also the anonymise_db command, which will anonymise the whole database.
Metadata
Release files for django-gdpr-assist 1.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-gdpr-assist-1.4.2.tar.gz | 49.9 kB | Without provenance | Details for django-gdpr-assist-1.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_gdpr_assist-1.4.2-py3-none-any.whl | Python 3 | none | any | Details for django_gdpr_assist-1.4.2-py3-none-any.whl |
Total release size: 76.7 kB
Release files / django-gdpr-assist-1.4.2.tar.gz
| Download URL | django-gdpr-assist-1.4.2.tar.gz |
|---|---|
| Size | 49.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5221a2159f306fa853eea9c03f34a2ddab0db2fdfd6d315d9ff1ca0e74a18efc
|
|
BLAKE2b-256 checksum How to use checksums |
b099e42e753c898e3571cb471b0248a4abf1bbf333ce7304b7232289030a6b42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / django_gdpr_assist-1.4.2-py3-none-any.whl
| Download URL | django_gdpr_assist-1.4.2-py3-none-any.whl |
|---|---|
| Size | 26.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
791aff8be0916f1d2e83b8c02bd1ca90362fe8616d9df29ff8558d87ad1a1c5a
|
|
BLAKE2b-256 checksum How to use checksums |
fd27e53362d14dbf04fb999e2b8caf626f65fb09d09a5211d152f714ce68a36b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for django-gdpr-assist 1.4.2
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.