{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"Provides PEP 561 type stubs for factory-boy, enabling static type checkers like mypy and PyCharm to validate code that uses factory-boy for test fixture generation.","skillfed_tags":["type-stubs","testing"],"use_cases":["Enable mypy or PyCharm to type-check factory-boy fixture definitions and catch type mismatches before runtime.","Validate that test factories produce objects matching expected type signatures in a typed codebase.","Provide IDE autocomplete and type hints for factory-boy class attributes and methods.","Integrate factory-boy into a strict type-checking CI pipeline without modifying factory-boy itself."],"what_it_does":"types-factory-boy is a PEP 561 type stub package that bridges the gap between factory-boy (a popular Python fixture library) and static type checkers. It provides type annotations for factory-boy's public API, allowing tools like mypy, PyCharm, and pytype to understand and validate code that uses factory-boy for generating test fixtures.\n\nThe package is a thin, zero-runtime-cost addition to your development environment. Once installed alongside factory-boy, it enables your type checker to catch type errors in fixture definitions and usage without requiring factory-boy itself to be rewritten with inline type hints. It supports Python 3.7 through 3.11 and is maintained actively.","worth_installing":"Yes, if you use factory-boy in a type-checked codebase. It has no runtime overhead, low installation friction, and permissive licensing. The only caveat is that the latest release is from March 2023, so verify stub coverage matches your factory-boy version before relying on it for strict type enforcement."},"id":"types-factory-boy","links":{"html":"https://skillfed.io/packages/types-factory-boy","md":"https://skillfed.io/packages/types-factory-boy.md","pypi":"https://pypi.org/project/types-factory-boy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-03-12","license_spdx":null,"license_treatment":"permissive","name":"types-factory-boy","python_support":"supports_current","summary":"Typing stubs for factory-boy"},"popularity":{"monthly_downloads":457278,"position":6548,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.1"}
