polyfactory 2.15.0
0
Mock data generation factories
Contents
Mock data generation factories
Stars: 863, Watchers: 863, Forks: 67, Open Issues: 22The litestar-org/polyfactory
repo was created 2 years ago and the last code push was Yesterday.
The project is popular with 863 github stars!
How to Install polyfactory
You can install polyfactory using pip
pip install polyfactory
or add it to a project with poetry
poetry add polyfactory
Package Details
- Author
- License
- MIT
- Homepage
- PyPi:
- https://pypi.org/project/polyfactory/
- GitHub Repo:
- https://github.com/litestar-org/polyfactory
Classifiers
- Software Development
- Software Development/Libraries
- Software Development/Testing
- Software Development/Testing/Unit
- Utilities
Related Packages
Errors
A list of common polyfactory errors.
Code Examples
Here are some polyfactory
code examples and snippets.
GitHub Issues
The polyfactory package has 22 open issues on GitHub
- feat(factory): switch to using faker.seed_instance
- Enhancement: switch to using faker.seed_instance
- Bug: pydantic min_length and max_length are not provided in get_constrained_field_value
- Bug: Pydantic Json type is disregarded when creating mock data
using_base_factories
context manager- Drop
__set_as_default_factory_for_type__
- Sqlalchemy factory
- Add sqlalchemy factory
- Enhancement: use coverage combine
- Generation not following the constraints when validator is specified
- Enhancement: Add AttrsFactory
- Bug: Infinite recursion error with discriminated unions
- Enhancement: Add a rejection sampler
- Enhancement: Add SQLModelFactory
- Bug: When setting size=0, 1 instance is created and not put in a list