$npx skillfedfor your agent

django-anon

Anonymize production data so it can be safely used in not-so-safe environments

With conditionsPyPI DatabaseReleased Jul 2021140.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_anon-0.3.2-py2.py3-none-any.whl
v0.3.2 · released 2021-07-28 · 2 runtime deps: django-bulk-update, django-chunkator

Yes, if you are on Django 1.8–3.0 and Python 2.7 or 3.7. The package is stable and does its job well for bulk anonymization. No, if you need active maintenance or support for newer Django or Python versions—dormancy since 2021 means no updates for newer framework versions. Consider it for legacy projects or as a starting point you may need to fork.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Django project with models already defined; will modify your current database in place when run() is called.
  • Low install friction with just two runtime dependencies (django-bulk-update and django-chunkator).
  • Maintenance is dormant—last release was 2021-07-28, so expect no active bug fixes or updates for newer Django versions.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2021-07-28 (1843 days) · last repo commit 2024-01-30 · 164 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 140,877 downloads/mo, #11,260 on PyPI

Verify before relying

pip install django-anon

import anon

class PersonAnonymizer(anon.BaseAnonymizer):
    email = anon.fake_email
    is_admin = False
    class Meta:
        model = Person

PersonAnonymizer().run()
  • Whether the package works with Django versions released after 2021 (documented support ends at 3.0)
  • Whether Python 2.7 support remains functional or if the package is effectively Python 3 only in practice
  • Real-world performance on databases larger than those in the maintainer's test suite
Same gist for agents: .md · .json

What it is and what it does

django-anon is a Django utility that replaces sensitive data in your database with fake or static values, letting you safely share production databases with developers for debugging and performance testing. You define anonymization rules by subclassing BaseAnonymizer and specifying which model fields get which fake values (email, name, phone, etc.), then call run() to apply the changes in bulk across your database.

The package includes built-in fake-data generators (fake_email, fake_name, fake_phone_number, and others) and lets you plug in external libraries like Faker for higher-quality synthetic data. You can also define custom logic per row using lazy attributes or a clean() method, and filter which rows to anonymize via a custom QuerySet. It uses bulk updates under the hood to keep large-table operations fast.

Use it for

  • Share a production database snapshot with your development team without exposing customer PII or payment information.
  • Set up a realistic test environment that mirrors production data patterns without legal or privacy risks.
  • Reproduce bugs in a production-like database state while keeping sensitive data out of logs and version control.
  • Prepare data for performance testing on real-scale datasets without compliance violations.
  • Anonymize user records before exporting data for analytics or third-party audits.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are on Django 1.8–3.0 and Python 2.7 or 3.7.

The package is stable and does its job well for bulk anonymization. No, if you need active maintenance or support for newer Django or Python versions—dormancy since 2021 means no updates for newer framework versions. Consider it for legacy projects or as a starting point you may need to fork.

Install

django-anon on PyPI

Before you install

Low install friction with just two runtime dependencies (django-bulk-update and django-chunkator). Maintenance is dormant—last release was 2021-07-28, so expect no active bug fixes or updates for newer Django versions.

Requires a Django project with models already defined; will modify your current database in place when run() is called.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install django-anon

import anon

class PersonAnonymizer(anon.BaseAnonymizer):
    email = anon.fake_email
    is_admin = False
    class Meta:
        model = Person

PersonAnonymizer().run()

Verify before relying

  • Whether the package works with Django versions released after 2021 (documented support ends at 3.0)
  • Whether Python 2.7 support remains functional or if the package is effectively Python 3 only in practice
  • Real-world performance on databases larger than those in the maintainer's test suite

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
django-bulk-updatedjango-chunkator
MaintenanceDormant 1,843 days since the last release
Last repo commit
First released
Downloads140,877 / month, #11,260 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3

Evidence: django_anon-0.3.2-py2.py3-none-any.whl

Tags

Capabilities
django database anonymizationproduction data maskingbulk data anonymizationdjango fake data generationdatabase privacy tooldevelopment database sanitizationdjango model anonymizer
Topics
data-privacydjango-toolbulk-operations

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django database anonymization”

  • django-anonAnonymizes Django model data in place using bulk operations,…
  • FakerFaker generates realistic fake data—names, addresses, emails, phone…
  • presidio-anonymizerReplaces detected PII text entities with anonymized values using…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also Faker · presidio-anonymizer · fake-factory · django-bulk-update · django-fernet-fields-v2 · djangorestframework-bulk · django-nonrelated-inlines · django-pg-returning · faker-edu · faker-nonprofit