{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/14"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/8"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"},{"label":"Unit","url":"https://skillfed.io/packages/category/software-development-testing-unit"}],"enrichment":{"capability":"Generates mock data objects that conform to pydantic models, dataclasses, and TypedDicts by parsing type annotations and field constraints.","skillfed_tags":["test-fixtures","abandoned-project"],"use_cases":["Generate realistic test fixtures for pydantic models in unit tests without manually populating every field.","Create mock data for dataclass-based APIs during development and testing phases.","Populate TypedDict instances with valid random data for integration test scenarios.","Quickly prototype test suites for pydantic-based applications during TDD workflows.","Generate bulk test data for validation and constraint-testing of model fields."],"what_it_does":"Pydantic-factories is a mock data generator that inspects pydantic model definitions, dataclasses, and TypedDicts to automatically create realistic test instances. It uses type hints and field constraints as a blueprint, delegating to faker for realistic string and date generation. You define a factory class pointing to your model, call `.build()`, and receive a fully populated instance ready for testing\u2014no manual field assignment needed.\n\nThe library integrates faker and pydantic to handle both built-in Python types and pydantic-specific types, respecting field constraints. It's designed for unit testing and test-driven development workflows where you need representative mock objects quickly. The project is no longer maintained; the authors have moved development to polyfactory.","worth_installing":"No. The project is archived and abandoned as of April 2023, with maintainers explicitly directing users to migrate to polyfactory. While the code may still work with current pydantic versions, there will be no fixes for compatibility issues with future releases. Start with polyfactory instead unless you are maintaining legacy code already using this package."},"id":"pydantic-factories","links":{"html":"https://skillfed.io/packages/pydantic-factories","md":"https://skillfed.io/packages/pydantic-factories.md","pypi":"https://pypi.org/project/pydantic-factories/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-04-03","license_spdx":null,"license_treatment":"permissive","name":"pydantic-factories","python_support":"supports_current","summary":"Mock data generation for pydantic based models and python dataclasses"},"popularity":{"monthly_downloads":166645,"position":10485,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.17.3"}
