{"adoption": {"forks": 118, "observed_at": "2026-08-28T04:04:54.333491+00:00", "stars": 1501}, "canonical_url": "https://ross.abutalabs.com/products/polyfactory", "card": {"archived": false, "artifact_type": "library", "description": "Simple and powerful factories for mock data generation", "domain": ["testing", "developer-tools", "data-science"], "enriched": true, "function": ["data-generation", "testing", "mocking"], "health_score": 97, "homepage": "https://polyfactory.litestar.dev/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["litestar-org/polyfactory"], "name": "litestar-org/polyfactory", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-24T22:43:58+00:00", "repo": "litestar-org/polyfactory", "stars": 1501, "tags": ["pydantic", "dataclasses", "typeddict", "msgspec", "attrs", "sqlalchemy", "beanie", "odmantic", "fixture-generation", "fake-data"], "topics": ["pydantic", "python", "dataclasses", "starlite", "hacktoberfest", "typeddict", "litestar", "pydantic-factories", "polyfactory", "beanie", "msgspec", "odmantic"], "urls": [], "use_cases": ["generate mock data for pydantic models in tests", "create test fixtures from dataclasses automatically", "generate fake data for sqlalchemy models", "mock data generation for typeddict and msgspec", "seed databases with realistic sample data", "auto-generate test payloads for api testing"], "what_it_is": "Polyfactory is a Python library that generates mock data from type hints, supporting frameworks like Pydantic, dataclasses, TypedDict, attrs, msgspec, and SQLAlchemy models. It provides simple, declarative factories for creating realistic test fixtures and sample data.", "when_to_avoid": ["you need mock data for non-Python typed models", "you only need simple random strings without type awareness", "you need production-grade synthetic data with strict privacy guarantees"], "when_to_choose": ["you need type-aware mock data for Python models in tests", "you use Pydantic, dataclasses, attrs, msgspec, or SQLAlchemy and want automatic fixtures", "you want to replace hand-written factory boilerplate"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/polyfactory", "repo": "litestar-org/polyfactory", "role": "main", "score": 89}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.333491+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:32:56.859878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52da243c89f4f857e0756593fd5db1855dc9f46fc71c01c6b5556ca96c6d9d74", "fetched_at": "2026-08-28T04:04:54.333491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/litestar-org/polyfactory"}, {"content_hash": "7425e5cf2b071a44c7da88f10f6ada4c537d3787ab0937ddc94f97e36fed56f1", "fetched_at": "2026-08-29T11:37:52.546895+00:00", "kind": "homepage", "missing": false, "url": "https://polyfactory.litestar.dev/"}, {"content_hash": "ea03489fefb5a9049627ff1877ecd778e052bea04fdd080e166ece2e30342254", "fetched_at": "2026-08-29T11:37:52.549127+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/polyfactory/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 71}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1754, "days_push": 9, "days_rel": 192, "gap_med": 28, "n_releases_24m": 16}, "score": 89, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}