{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/4"}],"enrichment":{"capability":"AutoFaker generates anonymous test data and objects automatically, reducing boilerplate in unit test setup by creating instances of built-in types, dataclasses, and custom classes with minimal configuration.","skillfed_tags":["test-data-generation","unit-testing","test-fixtures"],"use_cases":["Reduce arrange-phase code in unit tests by auto-generating simple types and dataclass instances instead of manual instantiation.","Generate realistic fake data (names, addresses, emails) for integration tests of data pipelines and ETL workflows.","Populate nested object graphs and collections automatically without writing recursive factory code.","Parameterize test methods with generated arguments using @autodata decorator to keep test code concise.","Create anonymous pandas DataFrames with random or fake data for testing data transformation logic."],"what_it_does":"AutoFaker is a test data generation library that automates the arrange phase of unit tests by creating anonymous instances of types on demand. Instead of manually instantiating objects with placeholder values just to satisfy type requirements, you call Autodata.create(SomeType) and get a populated instance. It supports built-in types (int, str, float, datetime), dataclasses, nested classes, enums, Literal types, and pandas DataFrames. When you need realistic rather than random data, you can enable fake data generation via faker to populate fields with names, addresses, emails, and other plausible values.\n\nThe library provides two main interfaces: direct calls like Autodata.create(int) for one-off generation, and decorators (@autodata, @fakedata) that inject generated arguments into test methods, letting you declare what types you need as function parameters or type annotations. It's designed for ETL and data-heavy testing scenarios but works for any test that needs to reduce setup boilerplate.","worth_installing":"Yes. Low install friction, active maintenance, no known vulnerabilities, permissive license, and a clear fit for test-heavy projects. Install if you write unit tests and want to reduce setup boilerplate; skip only if your test suite is minimal or you prefer explicit test data factories."},"id":"autofaker","links":{"html":"https://skillfed.io/packages/autofaker","md":"https://skillfed.io/packages/autofaker.md","pypi":"https://pypi.org/project/autofaker/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-05","license_spdx":null,"license_treatment":"permissive","name":"autofaker","python_support":"supports_current","summary":"Python library designed to minimize the setup/arrange phase of your unit tests"},"popularity":{"monthly_downloads":208464,"position":9531,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.24"}
