A Factory or Mother library with mock data features
What's the difference between this Python project and similar ones?
It is somewhat similar to factory-boy (already listed) but I find it simpler with a softer initial learning curve.
I've been working with factory-boy for years and I am a big supporter but polyfactory makes it simpler to achieve the most common fixture generations.
If you are starting with fixture generation I would recommend going to polyfactory first or at least taking a look and comparing it with factory-boy, especially if you work with Pydantic.
--
Anyone who agrees with this pull request could submit an Approve review to it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/vinta/awesome-python/pull/2608
**Author:** [@hectorcanto](https://github.com/hectorcanto)
**Created:** 8/31/2024
**Status:** ✅ Merged
**Merged:** 1/8/2026
**Merged by:** [@vinta](https://github.com/vinta)
**Base:** `master` ← **Head:** `add_polyfactory`
---
### 📝 Commits (1)
- [`adc907e`](https://github.com/vinta/awesome-python/commit/adc907ed077b836f96f772f5a90c8672e6a6b25a) add polifactory to Testing:Object factory
### 📊 Changes
**1 file changed** (+1 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+1 -0)
</details>
### 📄 Description
## What is this Python project?
A Factory or Mother library with mock data features
## What's the difference between this Python project and similar ones?
It is somewhat similar to factory-boy (already listed) but I find it simpler with a softer initial learning curve.
I've been working with `factory-boy` for years and I am a big supporter but `polyfactory` makes it simpler to achieve the most common fixture generations.
If you are starting with fixture generation I would recommend going to `polyfactory` first or at least taking a look and comparing it with `factory-boy`, especially if you work with Pydantic.
--
Anyone who agrees with this pull request could submit an *Approve* review to it.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/2608
Author: @hectorcanto
Created: 8/31/2024
Status: ✅ Merged
Merged: 1/8/2026
Merged by: @vinta
Base:
master← Head:add_polyfactory📝 Commits (1)
adc907eadd polifactory to Testing:Object factory📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is this Python project?
A Factory or Mother library with mock data features
What's the difference between this Python project and similar ones?
It is somewhat similar to factory-boy (already listed) but I find it simpler with a softer initial learning curve.
I've been working with
factory-boyfor years and I am a big supporter butpolyfactorymakes it simpler to achieve the most common fixture generations.If you are starting with fixture generation I would recommend going to
polyfactoryfirst or at least taking a look and comparing it withfactory-boy, especially if you work with Pydantic.--
Anyone who agrees with this pull request could submit an Approve review to it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.