Contents

polyfactory 3.2.0

0

Mock data generation factories

Mock data generation factories

Stars: 1409, Watchers: 1409, Forks: 107, Open Issues: 57

The litestar-org/polyfactory repo was created 4 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 1409 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
No  polyfactory  pypi packages just yet.

Errors

A list of common polyfactory errors.

Code Examples

Here are some polyfactory code examples and snippets.

GitHub Issues

The polyfactory package has 57 open issues on GitHub

  • feat: add __persistence__method__ to SQLAlchemyFactory
  • Enhancement: sync and async methods handle sessions differently in SQLAlchemyFactory
  • Enhancement: [For SQLAlchemyFactory] Option to switch to .flush() instead of .commit()
  • feat: py310
  • feat: add support for SQLAlchemy computed fields
  • fix: handle constrained datetimes
  • perf: cache model fields

See more issues on GitHub

Related Packages & Articles

pydantic-gen generates pydantic schemas from YAML files

pydantic-gen is a code generation python package that takes a YML file containing a OpenAPI Schema and generates python pydantic models. pydantic-gen can get used in your codebase to dynamically regenerate your pydantic models or it can be used one time to generator python code. The author of the pydantic-gen module is Mikhail Beliansky.

jsonargparse 4.46.0

Minimal effort CLIs derived from type hints and parse from command line, config files and environment variables.

authx 1.5.0

Ready to use and customizable Authentications and Oauth2 management for FastAPI