$npx skillfedfor your agent

Unit packages

13 packages

Packages

polyfactory Worth it
PyPI · Unit · released Feb 2026

Polyfactory generates mock data objects from type hints, supporting dataclasses, Pydantic models, typed-dicts, msgspec structs, and other typed structures for testing and development.

MITpure Python
11.3Mdownloads / mo
xmlunittest With conditions
PyPI · Unit · released Jul 2024

Extends Python's unittest framework to compare XML documents structurally using XPath expressions and lxml, rather than comparing raw XML strings.

MITpure Python · 3.8+dormant
1.0Mdownloads / mo
anys Worth it
PyPI · Unit · released Dec 2024

Provides matcher objects that compare equal to values meeting specified criteria, enabling flexible assertions in pytest-style unit tests without manual field-by-field comparison.

Install it if you write tests with pytest and encounter fields you can't assert exactly.

MITpure Python · 3.8+
953.6Kdownloads / mo
wiremock With conditions
PyPI · Unit · released Jul 2025

Python client library for interacting with WireMock instances to mock HTTP services in tests, supporting both standalone servers and containerized deployments.

Apache-2.0pure Pythonaging
589.1Kdownloads / mo
bitmath Worth it
PyPI · Unit · released May 2026

bitmath converts and performs arithmetic on file sizes across SI and NIST prefix units (kB to YiB), with support for human-readable formatting, rich comparisons, and capacity math.

MITpure Python · 3.9+
396.9Kdownloads / mo
PyTestArch Worth it
PyPI · Unit · released Aug 2025

PyTestArch lets you define and test architectural rules for Python code by analyzing module imports and dependencies, catching violations where modules import from places they shouldn't.

Apache-2.0pure Python · 3.9+
219.6Kdownloads / mo
django-mock-queries Worth it
PyPI · Unit · released Sep 2024

Mocks Django QuerySet operations in memory for unit testing, supporting filtering, aggregation, field lookups, and CRUD operations without a database.

Install it if you want to test query logic without database overhead; skip it only if your test suite already has fast database fixtures or you need QuerySet methods…

MITpure Python
204.8Kdownloads / mo
flake8-pytest-style Worth it
PyPI · Unit · released Oct 2025

A flake8 plugin that detects and reports style inconsistencies and common mistakes in pytest-based test code, enforcing best practices for fixtures, parametrization, assertions, and exception handling.

license unclearpure Python · 3.10+
201.4Kdownloads / mo
pydantic-factories Skip
PyPI · Unit · released Apr 2023

Generates mock data objects that conform to pydantic models, dataclasses, and TypedDicts by parsing type annotations and field constraints.

MITpure Pythonabandoned
166.6Kdownloads / mo
TestSlide With conditions
PyPI · Unit · released Mar 2023

TestSlide is a test framework for Python that provides strict mocks integrated with unittest.TestCase, enabling unit testing, TDD, and BDD with detailed validation and failure guidance.

MITbuilds from source
166.4Kdownloads / mo
flexmock Worth it
PyPI · Unit · released Jan 2026

flexmock creates mock, stub, spy, and fake objects for testing Python code, with zero external dependencies and full type annotations.

BSD-3-Clausepure Python
149.0Kdownloads / mo
xlcalculator With conditions
PyPI · Unit · released Feb 2023

Reads MS Excel files and translates Excel formulas into Python code for evaluation, allowing spreadsheet calculations to run without Excel.

However, high install friction and the gap since the last release warrant checking that your target Excel functions are supported and testing numeric precision on…

MITbuilds from source · 3.9+
147.5Kdownloads / mo
parametrize With conditions
PyPI · Unit · released May 2021

Provides a `@parametrize` decorator that works with `unittest.TestCase` to run parameterized tests, mimicking pytest's `@pytest.mark.parametrize` syntax without requiring a migration away from unittest.

However, the dormant maintenance status and strict decorator-ordering rules mean it's best suited for teams committed to pytest as their long-term test runner.

MITpure Pythondormant
88.8Kdownloads / mo