polyfactory


Namepolyfactory JSON
Version 2.15.0 PyPI version JSON
download
home_page
SummaryMock data generation factories
upload_time2024-03-02 14:34:09
maintainer
docs_urlNone
author
requires_python<4.0,>=3.8
licenseMIT
keywords attrs dataclasses msgspec pydantic sqlalchemy
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable -->
<p align="center">
  <img src="https://github.com/litestar-org/branding/blob/473f54621e55cde9acbb6fcab7fc03036173eb3d/assets/Branding%20-%20PNG%20-%20Transparent/Polyfactory%20-%20Banner%20-%20Inline%20-%20Light.png?raw=true" alt="Polyfactory Logo - Light" width="100%" height="auto" />
</p>
<!-- markdownlint-restore -->

<div align="center">
<!-- prettier-ignore-start -->

| Project   |     | Status                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| --------- | :-- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| CI/CD     |     | [![Publish package](https://github.com/litestar-org/polyfactory/actions/workflows/publish.yaml/badge.svg)](https://github.com/litestar-org/polyfactory/actions/workflows/publish.yaml) [![ci](https://github.com/litestar-org/polyfactory/actions/workflows/ci.yaml/badge.svg)](https://github.com/litestar-org/polyfactory/actions/workflows/ci.yaml) [![pages-build-deployment](https://github.com/litestar-org/polyfactory/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/litestar-org/polyfactory/actions/workflows/pages/pages-build-deployment)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Quality   |     | [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=coverage)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar)                                                                                                                                                                                                                                                                                                                                                                                                            |
| Package   |     | [![PyPI - Version](https://img.shields.io/pypi/v/polyfactory?labelColor=202235&color=edb641&logo=python&logoColor=edb641)](https://badge.fury.io/py/polyfactory) ![PyPI - Support Python Versions](https://img.shields.io/pypi/pyversions/polyfactory?labelColor=202235&color=edb641&logo=python&logoColor=edb641) ![Pydantic Factories PyPI - Downloads](https://img.shields.io/pypi/dm/pydantic-factories?logo=python&label=Pydantic%20Factories%20downloads&labelColor=202235&color=edb641&logoColor=edb641) ![Polyfactory PyPI - Downloads](https://img.shields.io/pypi/dm/polyfactory?logo=python&label=Polyfactory%20downloads&labelColor=202235&color=edb641&logoColor=edb641)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Community |     | [![Reddit](https://img.shields.io/reddit/subreddit-subscribers/litestarapi?label=r%2FLitestar&logo=reddit&labelColor=202235&color=edb641&logoColor=edb641)](https://reddit.com/r/litestarapi) [![Discord](https://img.shields.io/discord/919193495116337154?labelColor=202235&color=edb641&label=chat%20on%20discord&logo=discord&logoColor=edb641)](https://discord.gg/X3FJqy8d2j) [![Matrix](https://img.shields.io/badge/chat%20on%20Matrix-bridged-202235?labelColor=202235&color=edb641&logo=matrix&logoColor=edb641)](https://matrix.to/#/#litestar:matrix.org) [![Medium](https://img.shields.io/badge/Medium-202235?labelColor=202235&color=edb641&logo=medium&logoColor=edb641)](https://blog.litestar.dev) [![Twitter](https://img.shields.io/twitter/follow/LitestarAPI?labelColor=202235&color=edb641&logo=twitter&logoColor=edb641&style=flat)](https://twitter.com/LitestarAPI) [![Blog](https://img.shields.io/badge/Blog-litestar.dev-202235?logo=blogger&labelColor=202235&color=edb641&logoColor=edb641)](https://blog.litestar.dev)                                                                                                                                                                                                                                                                                                                                   |
| Meta      |     | [![Litestar Project](https://img.shields.io/badge/Litestar%20Org-%E2%AD%90%20Polyfactory-202235.svg?logo=python&labelColor=202235&color=edb641&logoColor=edb641)](https://github.com/litestar-org/polyfactory) [![types - Mypy](https://img.shields.io/badge/types-Mypy-202235.svg?logo=python&labelColor=202235&color=edb641&logoColor=edb641)](https://github.com/python/mypy) [![License - MIT](https://img.shields.io/badge/license-MIT-202235.svg?logo=python&labelColor=202235&color=edb641&logoColor=edb641)](https://spdx.org/licenses/) [![Litestar Sponsors](https://img.shields.io/badge/Sponsor-%E2%9D%A4-%23edb641.svg?&logo=github&logoColor=edb641&labelColor=202235)](https://github.com/sponsors/litestar-org) [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json&labelColor=202235)](https://github.com/astral-sh/ruff) [![code style - Black](https://img.shields.io/badge/code%20style-black-000000.svg?logo=python&labelColor=202235&logoColor=edb641)](https://github.com/psf/black) [![Sourcery](https://img.shields.io/badge/Sourcery-enabled-edb641?labelColor=202235&logoColor=edb641)](https://sourcery.ai) [![All Contributors](https://img.shields.io/github/all-contributors/litestar-org/polyfactory?labelColor=202235&color=edb641&logoColor=edb641)](#contributors-) |

<!-- prettier-ignore-end -->

</div>
<!-- markdownlint-restore -->

# Polyfactory

Polyfactory is a simple and powerful mock data generation library, based around type
hints and supporting dataclasses, typed-dicts, pydantic models, msgspec structs and more.

Polyfactory part of the Litestar project and as such actively maintained by a community of maintainers and contributors.

## Example

```python
from dataclasses import dataclass

from polyfactory.factories import DataclassFactory


@dataclass
class Person:
    name: str
    age: float
    height: float
    weight: float


class PersonFactory(DataclassFactory[Person]):
    ...


def test_is_person() -> None:
    person_instance = PersonFactory.build()
    assert isinstance(person_instance, Person)
```

That's it - with almost no work, we are able to create a mock data object fitting the `Person` class model definition.

This is possible because of the typing information available on the dataclass, which are used as a
source of truth for data generation.

The factory parses the information stored in the dataclass and generates a dictionary of kwargs that are passed to
`Person`.

## Documentation

Usage and API reference documentation is available on https://polyfactory.litestar.dev/.

## Installation

```shell
pip install polyfactory
```

## Relation to Pydantic-Factories

Prior to version 2, this library was known as [pydantic-factories](https://pypi.org/project/pydantic-factories/), a name
under which it gained quite a bit of popularity.
A main motivator for the 2.0 release was that we wanted to support more than just Pydantic models, something which also
required a change to its core architecture. As this library would no longer be directly tied to Pydantic, `polyfactory`
was chosen as its new name to reflect its capabilities; It can generate mock data for dataclasses, typed-dicts,
Pydantic, odmantic, and beanie ODM models, as well as custom factories.

## Contributing

This library is a community driven open source project. We welcome and encourage contributions. Please checkout the
GitHub issues, read the contribution guide (at the repository's root), and you're always welcome
to [join our discord server](https://discord.gg/F4jPQzHpBU).

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tbody>
    <tr>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/Goldziher"><img src="https://avatars.githubusercontent.com/u/30733348?v=4?s=100" width="100px;" alt="Na'aman Hirschfeld"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href="#maintenance-Goldziher" title="Maintenance">🚧</a> <a href="#infra-Goldziher" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=Goldziher" title="Tests">⚠️</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=Goldziher" title="Code">💻</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=Goldziher" title="Documentation">📖</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://scriptr.dev/"><img src="https://avatars.githubusercontent.com/u/45884264?v=4?s=100" width="100px;" alt="Jacob Coffee"/><br /><sub><b>Jacob Coffee</b></sub></a><br /><a href="#maintenance-JacobCoffee" title="Maintenance">🚧</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=JacobCoffee" title="Documentation">📖</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=JacobCoffee" title="Tests">⚠️</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/provinzkraut"><img src="https://avatars.githubusercontent.com/u/25355197?v=4?s=100" width="100px;" alt="Janek Nouvertné"/><br /><sub><b>Janek Nouvertné</b></sub></a><br /><a href="#maintenance-provinzkraut" title="Maintenance">🚧</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=provinzkraut" title="Documentation">📖</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=provinzkraut" title="Tests">⚠️</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=provinzkraut" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://schutt.io"><img src="https://avatars.githubusercontent.com/u/20659309?v=4?s=100" width="100px;" alt="Peter Schutt"/><br /><sub><b>Peter Schutt</b></sub></a><br /><a href="#maintenance-peterschutt" title="Maintenance">🚧</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=peterschutt" title="Tests">⚠️</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=peterschutt" title="Code">💻</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=peterschutt" title="Documentation">📖</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://czaplicki.it/"><img src="https://avatars.githubusercontent.com/u/9108586?v=4?s=100" width="100px;" alt="Marek Czaplicki"/><br /><sub><b>Marek Czaplicki</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=mdczaplicki" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/przybylop"><img src="https://avatars.githubusercontent.com/u/82805821?v=4?s=100" width="100px;" alt="Piotr Przybyło"/><br /><sub><b>Piotr Przybyło</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=przybylop" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/sygutss"><img src="https://avatars.githubusercontent.com/u/48909366?v=4?s=100" width="100px;" alt="sygutss"/><br /><sub><b>sygutss</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/issues?q=author%3Asygutss" title="Bug reports">🐛</a> <a href="https://github.com/litestar-org/polyfactory/commits?author=sygutss" title="Code">💻</a></td>
    </tr>
    <tr>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/chrisbeardy"><img src="https://avatars.githubusercontent.com/u/20585410?v=4?s=100" width="100px;" alt="chrisbeardy"/><br /><sub><b>chrisbeardy</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=chrisbeardy" title="Documentation">📖</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/guacs"><img src="https://avatars.githubusercontent.com/u/126393040?v=4?s=100" width="100px;" alt="guacs"/><br /><sub><b>guacs</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=guacs" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/VSHUMILIN97"><img src="https://avatars.githubusercontent.com/u/27234763?v=4?s=100" width="100px;" alt="Vadim"/><br /><sub><b>Vadim</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=VSHUMILIN97" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/Simske"><img src="https://avatars.githubusercontent.com/u/2445660?v=4?s=100" width="100px;" alt="Simske"/><br /><sub><b>Simske</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=Simske" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/sondrelg"><img src="https://avatars.githubusercontent.com/u/25310870?v=4?s=100" width="100px;" alt="Sondre Lillebø Gundersen"/><br /><sub><b>Sondre Lillebø Gundersen</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=sondrelg" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://mciszczon.pl/"><img src="https://avatars.githubusercontent.com/u/1078369?v=4?s=100" width="100px;" alt="Mateusz Ciszczoń"/><br /><sub><b>Mateusz Ciszczoń</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=mciszczon" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/pedro-bernardes/"><img src="https://avatars.githubusercontent.com/u/18899993?v=4?s=100" width="100px;" alt="Pedro Bernardes"/><br /><sub><b>Pedro Bernardes</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=phbernardes" title="Code">💻</a></td>
    </tr>
    <tr>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/lindycoder"><img src="https://avatars.githubusercontent.com/u/12926519?v=4?s=100" width="100px;" alt="Martin Roy"/><br /><sub><b>Martin Roy</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=lindycoder" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="http://matthewtyleraylward.com"><img src="https://avatars.githubusercontent.com/u/19205392?v=4?s=100" width="100px;" alt="Matthew Aylward "/><br /><sub><b>Matthew Aylward </b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=Butch78" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/EltonChou"><img src="https://avatars.githubusercontent.com/u/12560310?v=4?s=100" width="100px;" alt="Elton H.Y. Chou"/><br /><sub><b>Elton H.Y. Chou</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=EltonChou" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/nguyent"><img src="https://avatars.githubusercontent.com/u/576848?v=4?s=100" width="100px;" alt="Thang"/><br /><sub><b>Thang</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=nguyent" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/DaanRademaker"><img src="https://avatars.githubusercontent.com/u/29598493?v=4?s=100" width="100px;" alt="Daan"/><br /><sub><b>Daan</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=DaanRademaker" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://lyz-code.github.io/blue-book/"><img src="https://avatars.githubusercontent.com/u/24810987?v=4?s=100" width="100px;" alt="Lyz"/><br /><sub><b>Lyz</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=lyz-code" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://portfolio.schiffer.pro/"><img src="https://avatars.githubusercontent.com/u/3502492?v=4?s=100" width="100px;" alt="Thorin Schiffer"/><br /><sub><b>Thorin Schiffer</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=thorin-schiffer" title="Code">💻</a></td>
    </tr>
    <tr>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/Iipin"><img src="https://avatars.githubusercontent.com/u/52832022?v=4?s=100" width="100px;" alt="Iipin"/><br /><sub><b>Iipin</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=Iipin" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/avihai-yosef"><img src="https://avatars.githubusercontent.com/u/79567307?v=4?s=100" width="100px;" alt="avihai-yosef"/><br /><sub><b>avihai-yosef</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=avihai-yosef" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/anthonyh209"><img src="https://avatars.githubusercontent.com/u/33107540?v=4?s=100" width="100px;" alt="anthonyh209"/><br /><sub><b>anthonyh209</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=anthonyh209" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="http://linkedin.com/in/roman-reznikov"><img src="https://avatars.githubusercontent.com/u/44291988?v=4?s=100" width="100px;" alt="Roman Reznikov"/><br /><sub><b>Roman Reznikov</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=ReznikovRoman" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/gigelu"><img src="https://avatars.githubusercontent.com/u/270697?v=4?s=100" width="100px;" alt="gigelu"/><br /><sub><b>gigelu</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=gigelu" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/roeeyn"><img src="https://avatars.githubusercontent.com/u/13385000?v=4?s=100" width="100px;" alt="Rodrigo Medina"/><br /><sub><b>Rodrigo Medina</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=roeeyn" title="Code">💻</a></td>
      <td align="center" valign="top" width="14.28%"><a href="https://gerritegnew.info/"><img src="https://avatars.githubusercontent.com/u/35822787?v=4?s=100" width="100px;" alt="Gerrit Egnew"/><br /><sub><b>Gerrit Egnew</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=gegnew" title="Code">💻</a></td>
    </tr>
    <tr>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/danielkatzan"><img src="https://avatars.githubusercontent.com/u/9249066?v=4?s=100" width="100px;" alt="danielkatzan"/><br /><sub><b>danielkatzan</b></sub></a><br /><a href="https://github.com/litestar-org/polyfactory/commits?author=danielkatzan" title="Documentation">📖</a></td>
    </tr>
  </tbody>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.
Contributions of any kind welcome!

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "polyfactory",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": "Visakh Unnikrishnan <guacs.guacs@gmail.com>, Cody Fincher <cody.fincher@gmail.com>, Janek Nouvertn\u00e9 <provinzkraut@posteo.de>, Jacob Coffee <jacob@z7x.org>, Peter Schutt <peter.github@proton.me>",
    "keywords": "attrs,dataclasses,msgspec,pydantic,sqlalchemy",
    "author": "",
    "author_email": "Na'aman Hirschfeld <nhirschfeld@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/21/bc/b70ffc24367cf6a27b16c65b01cfe3465914903d09207c81f344a9e37331/polyfactory-2.15.0.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable -->\n<p align=\"center\">\n  <img src=\"https://github.com/litestar-org/branding/blob/473f54621e55cde9acbb6fcab7fc03036173eb3d/assets/Branding%20-%20PNG%20-%20Transparent/Polyfactory%20-%20Banner%20-%20Inline%20-%20Light.png?raw=true\" alt=\"Polyfactory Logo - Light\" width=\"100%\" height=\"auto\" />\n</p>\n<!-- markdownlint-restore -->\n\n<div align=\"center\">\n<!-- prettier-ignore-start -->\n\n| Project   |     | Status                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |\n| --------- | :-- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| CI/CD     |     | [![Publish package](https://github.com/litestar-org/polyfactory/actions/workflows/publish.yaml/badge.svg)](https://github.com/litestar-org/polyfactory/actions/workflows/publish.yaml) [![ci](https://github.com/litestar-org/polyfactory/actions/workflows/ci.yaml/badge.svg)](https://github.com/litestar-org/polyfactory/actions/workflows/ci.yaml) [![pages-build-deployment](https://github.com/litestar-org/polyfactory/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/litestar-org/polyfactory/actions/workflows/pages/pages-build-deployment)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| Quality   |     | [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=coverage)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=litestar-org_litestar&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar)                                                                                                                                                                                                                                                                                                                                                                                                            |\n| Package   |     | [![PyPI - Version](https://img.shields.io/pypi/v/polyfactory?labelColor=202235&color=edb641&logo=python&logoColor=edb641)](https://badge.fury.io/py/polyfactory) ![PyPI - Support Python Versions](https://img.shields.io/pypi/pyversions/polyfactory?labelColor=202235&color=edb641&logo=python&logoColor=edb641) ![Pydantic Factories PyPI - Downloads](https://img.shields.io/pypi/dm/pydantic-factories?logo=python&label=Pydantic%20Factories%20downloads&labelColor=202235&color=edb641&logoColor=edb641) ![Polyfactory PyPI - Downloads](https://img.shields.io/pypi/dm/polyfactory?logo=python&label=Polyfactory%20downloads&labelColor=202235&color=edb641&logoColor=edb641)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| Community |     | [![Reddit](https://img.shields.io/reddit/subreddit-subscribers/litestarapi?label=r%2FLitestar&logo=reddit&labelColor=202235&color=edb641&logoColor=edb641)](https://reddit.com/r/litestarapi) [![Discord](https://img.shields.io/discord/919193495116337154?labelColor=202235&color=edb641&label=chat%20on%20discord&logo=discord&logoColor=edb641)](https://discord.gg/X3FJqy8d2j) [![Matrix](https://img.shields.io/badge/chat%20on%20Matrix-bridged-202235?labelColor=202235&color=edb641&logo=matrix&logoColor=edb641)](https://matrix.to/#/#litestar:matrix.org) [![Medium](https://img.shields.io/badge/Medium-202235?labelColor=202235&color=edb641&logo=medium&logoColor=edb641)](https://blog.litestar.dev) [![Twitter](https://img.shields.io/twitter/follow/LitestarAPI?labelColor=202235&color=edb641&logo=twitter&logoColor=edb641&style=flat)](https://twitter.com/LitestarAPI) [![Blog](https://img.shields.io/badge/Blog-litestar.dev-202235?logo=blogger&labelColor=202235&color=edb641&logoColor=edb641)](https://blog.litestar.dev)                                                                                                                                                                                                                                                                                                                                   |\n| Meta      |     | [![Litestar Project](https://img.shields.io/badge/Litestar%20Org-%E2%AD%90%20Polyfactory-202235.svg?logo=python&labelColor=202235&color=edb641&logoColor=edb641)](https://github.com/litestar-org/polyfactory) [![types - Mypy](https://img.shields.io/badge/types-Mypy-202235.svg?logo=python&labelColor=202235&color=edb641&logoColor=edb641)](https://github.com/python/mypy) [![License - MIT](https://img.shields.io/badge/license-MIT-202235.svg?logo=python&labelColor=202235&color=edb641&logoColor=edb641)](https://spdx.org/licenses/) [![Litestar Sponsors](https://img.shields.io/badge/Sponsor-%E2%9D%A4-%23edb641.svg?&logo=github&logoColor=edb641&labelColor=202235)](https://github.com/sponsors/litestar-org) [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json&labelColor=202235)](https://github.com/astral-sh/ruff) [![code style - Black](https://img.shields.io/badge/code%20style-black-000000.svg?logo=python&labelColor=202235&logoColor=edb641)](https://github.com/psf/black) [![Sourcery](https://img.shields.io/badge/Sourcery-enabled-edb641?labelColor=202235&logoColor=edb641)](https://sourcery.ai) [![All Contributors](https://img.shields.io/github/all-contributors/litestar-org/polyfactory?labelColor=202235&color=edb641&logoColor=edb641)](#contributors-) |\n\n<!-- prettier-ignore-end -->\n\n</div>\n<!-- markdownlint-restore -->\n\n# Polyfactory\n\nPolyfactory is a simple and powerful mock data generation library, based around type\nhints and supporting dataclasses, typed-dicts, pydantic models, msgspec structs and more.\n\nPolyfactory part of the Litestar project and as such actively maintained by a community of maintainers and contributors.\n\n## Example\n\n```python\nfrom dataclasses import dataclass\n\nfrom polyfactory.factories import DataclassFactory\n\n\n@dataclass\nclass Person:\n    name: str\n    age: float\n    height: float\n    weight: float\n\n\nclass PersonFactory(DataclassFactory[Person]):\n    ...\n\n\ndef test_is_person() -> None:\n    person_instance = PersonFactory.build()\n    assert isinstance(person_instance, Person)\n```\n\nThat's it - with almost no work, we are able to create a mock data object fitting the `Person` class model definition.\n\nThis is possible because of the typing information available on the dataclass, which are used as a\nsource of truth for data generation.\n\nThe factory parses the information stored in the dataclass and generates a dictionary of kwargs that are passed to\n`Person`.\n\n## Documentation\n\nUsage and API reference documentation is available on https://polyfactory.litestar.dev/.\n\n## Installation\n\n```shell\npip install polyfactory\n```\n\n## Relation to Pydantic-Factories\n\nPrior to version 2, this library was known as [pydantic-factories](https://pypi.org/project/pydantic-factories/), a name\nunder which it gained quite a bit of popularity.\nA main motivator for the 2.0 release was that we wanted to support more than just Pydantic models, something which also\nrequired a change to its core architecture. As this library would no longer be directly tied to Pydantic, `polyfactory`\nwas chosen as its new name to reflect its capabilities; It can generate mock data for dataclasses, typed-dicts,\nPydantic, odmantic, and beanie ODM models, as well as custom factories.\n\n## Contributing\n\nThis library is a community driven open source project. We welcome and encourage contributions. Please checkout the\nGitHub issues, read the contribution guide (at the repository's root), and you're always welcome\nto [join our discord server](https://discord.gg/F4jPQzHpBU).\n\n## Contributors \u2728\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"Na'aman Hirschfeld\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"#maintenance-Goldziher\" title=\"Maintenance\">\ud83d\udea7</a> <a href=\"#infra-Goldziher\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">\ud83d\ude87</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=Goldziher\" title=\"Tests\">\u26a0\ufe0f</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=Goldziher\" title=\"Code\">\ud83d\udcbb</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=Goldziher\" title=\"Documentation\">\ud83d\udcd6</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://scriptr.dev/\"><img src=\"https://avatars.githubusercontent.com/u/45884264?v=4?s=100\" width=\"100px;\" alt=\"Jacob Coffee\"/><br /><sub><b>Jacob Coffee</b></sub></a><br /><a href=\"#maintenance-JacobCoffee\" title=\"Maintenance\">\ud83d\udea7</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=JacobCoffee\" title=\"Documentation\">\ud83d\udcd6</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=JacobCoffee\" title=\"Tests\">\u26a0\ufe0f</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/provinzkraut\"><img src=\"https://avatars.githubusercontent.com/u/25355197?v=4?s=100\" width=\"100px;\" alt=\"Janek Nouvertn\u00e9\"/><br /><sub><b>Janek Nouvertn\u00e9</b></sub></a><br /><a href=\"#maintenance-provinzkraut\" title=\"Maintenance\">\ud83d\udea7</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=provinzkraut\" title=\"Documentation\">\ud83d\udcd6</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=provinzkraut\" title=\"Tests\">\u26a0\ufe0f</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=provinzkraut\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://schutt.io\"><img src=\"https://avatars.githubusercontent.com/u/20659309?v=4?s=100\" width=\"100px;\" alt=\"Peter Schutt\"/><br /><sub><b>Peter Schutt</b></sub></a><br /><a href=\"#maintenance-peterschutt\" title=\"Maintenance\">\ud83d\udea7</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=peterschutt\" title=\"Tests\">\u26a0\ufe0f</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=peterschutt\" title=\"Code\">\ud83d\udcbb</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=peterschutt\" title=\"Documentation\">\ud83d\udcd6</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://czaplicki.it/\"><img src=\"https://avatars.githubusercontent.com/u/9108586?v=4?s=100\" width=\"100px;\" alt=\"Marek Czaplicki\"/><br /><sub><b>Marek Czaplicki</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=mdczaplicki\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/przybylop\"><img src=\"https://avatars.githubusercontent.com/u/82805821?v=4?s=100\" width=\"100px;\" alt=\"Piotr Przyby\u0142o\"/><br /><sub><b>Piotr Przyby\u0142o</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=przybylop\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/sygutss\"><img src=\"https://avatars.githubusercontent.com/u/48909366?v=4?s=100\" width=\"100px;\" alt=\"sygutss\"/><br /><sub><b>sygutss</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/issues?q=author%3Asygutss\" title=\"Bug reports\">\ud83d\udc1b</a> <a href=\"https://github.com/litestar-org/polyfactory/commits?author=sygutss\" title=\"Code\">\ud83d\udcbb</a></td>\n    </tr>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/chrisbeardy\"><img src=\"https://avatars.githubusercontent.com/u/20585410?v=4?s=100\" width=\"100px;\" alt=\"chrisbeardy\"/><br /><sub><b>chrisbeardy</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=chrisbeardy\" title=\"Documentation\">\ud83d\udcd6</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/guacs\"><img src=\"https://avatars.githubusercontent.com/u/126393040?v=4?s=100\" width=\"100px;\" alt=\"guacs\"/><br /><sub><b>guacs</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=guacs\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/VSHUMILIN97\"><img src=\"https://avatars.githubusercontent.com/u/27234763?v=4?s=100\" width=\"100px;\" alt=\"Vadim\"/><br /><sub><b>Vadim</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=VSHUMILIN97\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/Simske\"><img src=\"https://avatars.githubusercontent.com/u/2445660?v=4?s=100\" width=\"100px;\" alt=\"Simske\"/><br /><sub><b>Simske</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=Simske\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/sondrelg\"><img src=\"https://avatars.githubusercontent.com/u/25310870?v=4?s=100\" width=\"100px;\" alt=\"Sondre Lilleb\u00f8 Gundersen\"/><br /><sub><b>Sondre Lilleb\u00f8 Gundersen</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=sondrelg\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://mciszczon.pl/\"><img src=\"https://avatars.githubusercontent.com/u/1078369?v=4?s=100\" width=\"100px;\" alt=\"Mateusz Ciszczo\u0144\"/><br /><sub><b>Mateusz Ciszczo\u0144</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=mciszczon\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://www.linkedin.com/in/pedro-bernardes/\"><img src=\"https://avatars.githubusercontent.com/u/18899993?v=4?s=100\" width=\"100px;\" alt=\"Pedro Bernardes\"/><br /><sub><b>Pedro Bernardes</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=phbernardes\" title=\"Code\">\ud83d\udcbb</a></td>\n    </tr>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/lindycoder\"><img src=\"https://avatars.githubusercontent.com/u/12926519?v=4?s=100\" width=\"100px;\" alt=\"Martin Roy\"/><br /><sub><b>Martin Roy</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=lindycoder\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://matthewtyleraylward.com\"><img src=\"https://avatars.githubusercontent.com/u/19205392?v=4?s=100\" width=\"100px;\" alt=\"Matthew Aylward \"/><br /><sub><b>Matthew Aylward </b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=Butch78\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/EltonChou\"><img src=\"https://avatars.githubusercontent.com/u/12560310?v=4?s=100\" width=\"100px;\" alt=\"Elton H.Y. Chou\"/><br /><sub><b>Elton H.Y. Chou</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=EltonChou\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/nguyent\"><img src=\"https://avatars.githubusercontent.com/u/576848?v=4?s=100\" width=\"100px;\" alt=\"Thang\"/><br /><sub><b>Thang</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=nguyent\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/DaanRademaker\"><img src=\"https://avatars.githubusercontent.com/u/29598493?v=4?s=100\" width=\"100px;\" alt=\"Daan\"/><br /><sub><b>Daan</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=DaanRademaker\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://lyz-code.github.io/blue-book/\"><img src=\"https://avatars.githubusercontent.com/u/24810987?v=4?s=100\" width=\"100px;\" alt=\"Lyz\"/><br /><sub><b>Lyz</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=lyz-code\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://portfolio.schiffer.pro/\"><img src=\"https://avatars.githubusercontent.com/u/3502492?v=4?s=100\" width=\"100px;\" alt=\"Thorin Schiffer\"/><br /><sub><b>Thorin Schiffer</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=thorin-schiffer\" title=\"Code\">\ud83d\udcbb</a></td>\n    </tr>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/Iipin\"><img src=\"https://avatars.githubusercontent.com/u/52832022?v=4?s=100\" width=\"100px;\" alt=\"Iipin\"/><br /><sub><b>Iipin</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=Iipin\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/avihai-yosef\"><img src=\"https://avatars.githubusercontent.com/u/79567307?v=4?s=100\" width=\"100px;\" alt=\"avihai-yosef\"/><br /><sub><b>avihai-yosef</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=avihai-yosef\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/anthonyh209\"><img src=\"https://avatars.githubusercontent.com/u/33107540?v=4?s=100\" width=\"100px;\" alt=\"anthonyh209\"/><br /><sub><b>anthonyh209</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=anthonyh209\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://linkedin.com/in/roman-reznikov\"><img src=\"https://avatars.githubusercontent.com/u/44291988?v=4?s=100\" width=\"100px;\" alt=\"Roman Reznikov\"/><br /><sub><b>Roman Reznikov</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=ReznikovRoman\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/gigelu\"><img src=\"https://avatars.githubusercontent.com/u/270697?v=4?s=100\" width=\"100px;\" alt=\"gigelu\"/><br /><sub><b>gigelu</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=gigelu\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/roeeyn\"><img src=\"https://avatars.githubusercontent.com/u/13385000?v=4?s=100\" width=\"100px;\" alt=\"Rodrigo Medina\"/><br /><sub><b>Rodrigo Medina</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=roeeyn\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://gerritegnew.info/\"><img src=\"https://avatars.githubusercontent.com/u/35822787?v=4?s=100\" width=\"100px;\" alt=\"Gerrit Egnew\"/><br /><sub><b>Gerrit Egnew</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=gegnew\" title=\"Code\">\ud83d\udcbb</a></td>\n    </tr>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/danielkatzan\"><img src=\"https://avatars.githubusercontent.com/u/9249066?v=4?s=100\" width=\"100px;\" alt=\"danielkatzan\"/><br /><sub><b>danielkatzan</b></sub></a><br /><a href=\"https://github.com/litestar-org/polyfactory/commits?author=danielkatzan\" title=\"Documentation\">\ud83d\udcd6</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.\nContributions of any kind welcome!\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Mock data generation factories",
    "version": "2.15.0",
    "project_urls": {
        "Blog": "https://blog.litestar.dev",
        "Changelog": "https://github.com/litestar-org/polyfactory/releases/",
        "Discord": "https://discord.gg/MmcwxztmQb",
        "Issue Tracker": "https://github.com/litestar-org/polyfactory/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc",
        "Reddit": "https://www.reddit.com/r/LitestarAPI",
        "Twitter": "https://twitter.com/LitestarAPI",
        "documentation": "https://github.com/litestar-org/polyfactory",
        "homepage": "https://github.com/litestar-org/polyfactory",
        "repository": "https://github.com/litestar-org/polyfactory"
    },
    "split_keywords": [
        "attrs",
        "dataclasses",
        "msgspec",
        "pydantic",
        "sqlalchemy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3ba68e878f3a1e06ed74714d9831536cac935c5bf971639c35446aac33ccf0e2",
                "md5": "81584be6c212630774c79af83766d3c1",
                "sha256": "ff5b6a8742cbd6fbde9f81310b9732d5421fbec31916d6ede5a977753110fbe9"
            },
            "downloads": -1,
            "filename": "polyfactory-2.15.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "81584be6c212630774c79af83766d3c1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 56860,
            "upload_time": "2024-03-02T14:34:08",
            "upload_time_iso_8601": "2024-03-02T14:34:08.140070Z",
            "url": "https://files.pythonhosted.org/packages/3b/a6/8e878f3a1e06ed74714d9831536cac935c5bf971639c35446aac33ccf0e2/polyfactory-2.15.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "21bcb70ffc24367cf6a27b16c65b01cfe3465914903d09207c81f344a9e37331",
                "md5": "2d013fabfaab4b5607c87d6b26a9aebc",
                "sha256": "a3ff5263756ad74acf4001f04c1b6aab7d1197cbaa070352df79573a8dcd85ec"
            },
            "downloads": -1,
            "filename": "polyfactory-2.15.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2d013fabfaab4b5607c87d6b26a9aebc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 179781,
            "upload_time": "2024-03-02T14:34:09",
            "upload_time_iso_8601": "2024-03-02T14:34:09.882392Z",
            "url": "https://files.pythonhosted.org/packages/21/bc/b70ffc24367cf6a27b16c65b01cfe3465914903d09207c81f344a9e37331/polyfactory-2.15.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-02 14:34:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "litestar-org",
    "github_project": "polyfactory",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "polyfactory"
}
        
Elapsed time: 0.19502s