django-anon is a Django library that helps anonymize production data so it can be safely used in non-production environments. It provides model mixins and field anonymization functions. The current version is 0.3.2. Release cadence is sporadic; last release was in 2019.
pip install django-anonVerified import paths — ran on the pinned version, not inferred.
Basic usage: create an AnonymousUser instance from an existing model instance and access anonymized fields.
Always call super().save() after anonymization in custom save methods.
Use Django's native bulk_update instead of relying on django-anon's version.
Set max_size explicitly when calling fake_email if you need longer addresses.