Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Polyfactory

Generate realistic mock data and test fixtures from data models and schemas.

Testing PyPI MIT

Used in agent projects
0
0.0% of 1,622 Python repos built with AI coding agents
Gid Score
44 /100
#2111 of 3,794 tools, #56 in testing · ranking
In the catalog because
Public numbers
downloads and GitHub stars, added Oct 20, 2026; too rare in our project count to rank by use
Downloads
2.8M
PyPI, last 7 days, polyfactory
GitHub stars
1,516
124 forks · last push Oct 19, 2026

How Polyfactory is used

Polyfactory joined the catalog on its public numbers (2,833,323 downloads a week on PyPI and 1,516 GitHub stars), not on our project count: it is a dependency in 11 public GitHub projects of our scan, 0 of them set up for AI coding agents. The most used alternative in our scan is Faker (14 projects). Projects that use it most often also use AnyIO (100.0%), charset-normalizer (100.0%), Click (100.0%).

Polyfactory popularity over time

Top tools by Gid Score

Polyfactory: downloads per weekPyPI, polyfactory 2,827,054

Gid Score 44: downloads 74, use in agent projects 19, GitHub stars 18, downloads trend 63 (each 0-100). How it is calculated.

Often used with Polyfactory

AnyIO100.0% of Polyfactory projects · 67.5× more than average
charset-normalizer100.0% of Polyfactory projects · 92.7× more than average
Click100.0% of Polyfactory projects · 40.1× more than average
Faker100.0% of Polyfactory projects · 443.4× more than average
jiter100.0% of Polyfactory projects · 214.1× more than average
markdown-it-py100.0% of Polyfactory projects · 135.0× more than average

How Polyfactory is funded

Most funded tools

Open Collective: Litestar

Received, last 12 months$950 Oct 2025 – Sep 2026
Estimated annual budget$1,124 Open Collective's estimate
Balance$5,244
Raised since the start$8,357 · $3,113 paid out
Typical month median, last 12 months$69 · $180 over 24 months
Last 12 months vs the 12 before-71%
Contributors, last 12 months2

Top company backers all time

Polar.sh$254 since Jul 2024

May 2023Sep 2026

Money by month. First money received in May 2023. The typical month is the median: one big one-off donation does not move it.

USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Collective. Source

GitHub Sponsors

@litestar-org7 current sponsors

GitHub shows how many people and companies sponsor an account, not how much they pay.

Ways to fund Polyfactory

GitHub Sponsors Open Collective

As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.

Install

Packagepip install polyfactory
Main stacksPython (11)
Example projectsPythonando/arcabe3-completo, jenarvaezg/cunhaobot

Alternatives to Polyfactory

All testing

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Polyfactory are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
Faker pypi
Generate realistic fake data for testing and development.
68 14 (0.9%) 17M 19.4K MIT
Hypothesis pypi
Property-based testing framework for Python with powerful shrinking.
61 5 (0.3%) 14.6M 9,094 MPL-2.0
factory_boy pypi · new in the catalog
Test fixtures replacement for Python, modelled on Ruby's factory_bot.
47 4 (0.2%) 5.4M 3,811 MIT

More in Testing: Vitest Playwright (JavaScript) Testing Library jsdom Jest pytest Happy DOM axe-core Playwright

Is Polyfactory right for your project? Ask AgentGid →