$npx skillfedfor your agent

django-dynamic-fixture

A full library to create dynamic model instances for testing purposes.

With conditionsPyPI Software DevelopmentReleased Sep 2023162.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_dynamic_fixture-4.0.1-py3-none-any.whl
v4.0.1 · released 2023-09-15

Yes, if you write Django tests. DDF has no runtime dependencies, low install friction, and a stable track record since its first release in 2011. The dormant maintenance status is acceptable for a mature library—it does one thing well and doesn't require frequent updates. Install it if you want to reduce test boilerplate; skip it only if your project uses minimal fixtures or a different test-data strategy.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django to be installed and configured in your project; DDF generates instances for Django models only.
  • Low friction install with no runtime dependencies.
  • Maintenance is dormant—last release was Sep 2023 and last commit Oct 2024—but the package is stable and widely used.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this in commercial and open-source projects with minimal restrictions.

last release 2023-09-15 (1064 days) · last repo commit 2024-10-10 · 387 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 162,576 downloads/mo, #10,596 on PyPI

Verify before relying

pip install django-dynamic-fixture

from ddf import G

author = G(Author)
book = G(Book, authors=[author])
  • Whether the package works with Django versions released after Oct 2024
  • Compatibility with Python 3.12+ (classifiers list only up to 3.11)
  • Monthly download volume and its stability over time
Same gist for agents: .md · .json

What it is and what it does

Django Dynamic Fixture (DDF) is a test-data generation library that creates Django model instances on demand, saving you from writing repetitive fixture code. Instead of manually constructing test objects with all their required fields, you call G(Model) to generate a valid instance with sensible random defaults, then override only the fields that matter for your test. It handles relationships, foreign keys, and nested object creation through a simple dot-notation syntax, and provides utilities like M() for masked random strings and teach() to define reusable generation rules.

The library is designed to keep test code readable and maintainable by letting you focus on test logic rather than data setup. It works with Django's ORM directly and integrates into your existing test suite without special configuration.

Use it for

  • Writing unit tests for Django models where you need valid instances but don't care about most field values
  • Creating related objects in tests without nested fixture boilerplate
  • Generating multiple test instances quickly for bulk test data
  • Testing model methods and querysets where the test logic matters more than the data setup
  • Defining reusable test data patterns across a test suite using teach() to configure model generation rules

Worth the install?

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

With conditions

Yes, if you write Django tests.

DDF has no runtime dependencies, low install friction, and a stable track record since its first release in 2011. The dormant maintenance status is acceptable for a mature library—it does one thing well and doesn't require frequent updates. Install it if you want to reduce test boilerplate; skip it only if your project uses minimal fixtures or a different test-data strategy.

Install

django-dynamic-fixture on PyPI

Before you install

Low friction install with no runtime dependencies. Maintenance is dormant—last release was Sep 2023 and last commit Oct 2024—but the package is stable and widely used. Suitable for established projects that don't require active development.

Requires Django to be installed and configured in your project; DDF generates instances for Django models only.

License in practice

MIT license is permissive; you can use this in commercial and open-source projects with minimal restrictions.

Quickstart

pip install django-dynamic-fixture

from ddf import G

author = G(Author)
book = G(Book, authors=[author])

Verify before relying

  • Whether the package works with Django versions released after Oct 2024
  • Compatibility with Python 3.12+ (classifiers list only up to 3.11)
  • Monthly download volume and its stability over time

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 1,064 days since the last release
Last repo commit
First released
Downloads162,576 / month, #10,596 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: DjangoOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development

Evidence: django_dynamic_fixture-4.0.1-py3-none-any.whl

Tags

Capabilities
django test fixturesgenerate test data djangodjango model factorydynamic test instancesdjango testing helpersmock django modelsdjango test data generation
Topics
django-testingtest-fixturesorm-helpers
PyPI keywords
pythondjangotestingfixture

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 › “generate test data django”

  • django-dynamic-fixtureCreates dynamic Django model instances for testing without manual…
  • model-bakeryModel Bakery creates test fixtures for Django models automatically,…
  • mixerMixer generates test data and model instances for Django, SQLAlchemy,…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also pytest-unused-fixtures · pytest-factoryboy · pytest-lazy-fixtures · django-phonenumber-field · django-fixture-magic · pytest-lazy-fixture · pytest-fixture-config · marshmallow-sqlalchemy · pytest-postgresql · pytest-rng