polyfactory 2.17.0
0
Mock data generation factories
Contents
Mock data generation factories
Stars: 1027, Watchers: 1027, Forks: 81, Open Issues: 27The litestar-org/polyfactory
repo was created 2 years ago and the last code push was 3 weeks ago.
The project is very popular with an impressive 1027 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
- None
- License
- MIT
- Homepage
- None
- 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 27 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