What is Polyfactory
mainPolyfactory is a mock data generation library that uses Python type hints to automatically generate data. It supports various data structures including:
- Dataclasses
- TypedDicts
- Pydantic models
- msgspec structs
- And more.
It is part of the Litestar project and is actively maintained by the community.