vandersonmota

model_mommy: Create Model Fixtures for Tests

Model Mommy is a Python library for creating model fixtures for tests. It is no longer maintained and has been replaced by Model Bakery, so existing projects should consider migrating before adopting it.

Stars
896
Forks
139
Stars, last 30 days
+1
Last commit
7 years ago
Contributors
78

Our take

Archivedarchived by its owners on GitHub, read-only

Health score

34/100

How it is scored
Activity
19
Community
75
Issues
21
Pull requests
20

+1 stars in the last 30 days

Model Mommy may help explain or maintain legacy test suites, but its archived status makes Model Bakery the more appropriate choice for ongoing work.

Good fit if

  • You are maintaining tests that already use Model Mommy.
  • You need to understand the package before migrating to Model Bakery.

Look elsewhere if

  • You are choosing a fixture library for a new project.
  • You need an actively maintained dependency or ongoing issue handling.
All health signals
Last commit2019-10-21 (7 years ago)
Commits, last 90 days0
Releases, last 12 months0 (latest 1.5.1, 2018-04-28)
Contributors78 (top contributor: 42% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age15 years

Checked on 2026-10-31 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

897

Forks

139

Change since Nov 17, 2026: 0 stars·0 forks

Overview

Model Mommy is a Python library for creating model fixtures for tests, aimed at developers who need test data without hand-building every model instance. Its focus is making fixture creation more convenient in projects that test models.

The repository is archived and the project has been replaced by Model Bakery. Treat Model Mommy as a legacy dependency rather than a starting point for new projects.

Key Features

  • Creates model fixtures for use in tests.
  • Provides a library-based alternative to manually assembling test model data.
  • Targets Python projects that need model-backed test fixtures.
  • Has a documented migration path to Model Bakery.

Use Cases

  • Existing projects can retain their current Model Mommy fixtures while planning a migration.
  • Python developers can assess whether their legacy test setup depends on this package.
  • Teams moving to Model Bakery can use the project's migration guide as a starting point.

What you need

Detected in the repository

  • Python (from setup.py)
  • A test suite

Getting Started

The repository is archived and recommends migrating to Model Bakery rather than starting a new Model Mommy installation. See the migration guide and repository README for details.

License in Plain Words

No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.

Considerations

The project is read-only, with no recent commits or releases and no recent issue or pull-request activity. It had a broad contributor base, and the available contributor data does not indicate that development depended mostly on one person. The README explicitly says Model Mommy is no longer maintained and points users to Model Bakery; plan for migration rather than expecting fixes or new features here.

Found this useful?

Share it with someone who would like model_mommy.