:house_with_garden: Open source home automation that puts local control and privacy first.
Repository dossier
litestar-org/polyfactory
Simple and powerful factories for mock data generation
Brief / README 摘要
查看原文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. 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 da…
Topics / 标签
相关推荐
FastAPI framework, high performance, easy to learn, fast to code, ready for production
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.