Subcategories
Packages
pip-tools provides command-line tools to compile and manage pinned Python package dependencies, ensuring reproducible and deterministic builds by resolving transitive dependencies into locked requirement files.
A pytest plugin that repeats test execution a specified number of times, useful for detecting intermittent failures or stress-testing flaky tests.
A pytest plugin that generates JSON-formatted test reports, enabling test results to be processed by other applications or analysis tools.
Locust is a Python-based load testing framework that lets you write performance tests in regular Python code and run them against HTTP and other protocols, with real-time monitoring via a web UI or command line.
Install it if you need load testing with code-based test definition, distributed scaling, and real-time monitoring—especially for HTTP services or when you want to…
Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.
A pytest plugin that blocks or restricts socket calls during tests, preventing unintended network access and DNS resolution while allowing selective allowlisting of hosts or Unix domain sockets.
Syrupy is a pytest plugin that enables snapshot testing by letting you assert that computed results remain unchanged across test runs, using simple equality comparisons like `assert actual == snapshot`.
Install it if you're writing tests for data transformations, API responses, or any output where immutability matters but exact assertions are unwieldy.
Generates JUnit XML test result documents compatible with Jenkins and Bamboo, allowing Python test suites to produce machine-readable reports for CI/CD systems.
Polyfactory generates mock data objects from type hints, supporting dataclasses, Pydantic models, typed-dicts, msgspec structs, and other typed structures for testing and development.
Extends Python's unittest module with test utilities and mocks designed specifically for testing asyncio-based libraries, including coroutine mocks and event loop management.
Provides a pytest assertion helper to compare collections by content rather than order, useful for testing APIs that return data in arbitrary sequences.
Pyinstrument is a statistical call-stack profiler that samples your Python program's execution to identify which functions consume the most time, helping you find and optimize performance bottlenecks.
Programmatically trigger ASGI application startup and shutdown events without running a server, enabling testing and mocking of ASGI apps in isolation.
A pytest plugin that injects a configurable base URL into your test suite via command line, config file, environment variable, or fixture override.
Install it if your test suite makes HTTP requests to configurable endpoints.
A pytest plugin that randomly shuffles test execution order and controls the random seed for each test, helping detect hidden test dependencies and ensuring reproducible randomized test data.
Install it if you want to improve test reliability and catch ordering-dependent failures early.
nose extends unittest with automatic test discovery and execution, finding and running tests by naming convention with enhanced output including captured stdout from failures.
No, not for new projects.
A pytest plugin that replaces default assertion diff output with colored, side-by-side diffs from ICDiff for easier comparison of mismatched values.
A pytest plugin that integrates Playwright browser automation into pytest test functions via built-in fixtures, enabling end-to-end testing across Chromium, WebKit, and Firefox in headless or headed mode.
Provides pytest fixtures and testing utilities extracted from Home Assistant's test suite, enabling custom component developers to write tests using the same patterns as the core project.
kgb intercepts and records function calls in unit tests, letting you verify how many times a function was called and with what arguments, while optionally blocking, rerouting, or allowing the original call to proceed.
Mocks HTTP requests made by aiohttp's ClientSession for testing asynchronous code, supporting GET, POST, PUT, PATCH, DELETE, and OPTIONS methods with customizable status codes, bodies, headers, and JSON payloads.
Install it if you write tests for code using aiohttp.
Provides the common API and object model for Allure Report, enabling test framework adapters and end users to enhance test reports with metadata, attachments, and structured test information.
Install it if you are building an Allure adapter or using an Allure-integrated test framework.
A pytest plugin that marks tests as dependent on other tests, automatically skipping dependents when their prerequisites fail or are skipped.
A unittest test runner that exports test results to XML files in xUnit format, compatible with build systems, IDEs, and continuous integration servers.
Install it if you need xUnit-compatible test reports.
A pytest plugin that improves test output with a progress bar, instant failure display, and better formatting of results.
However, the 356-day gap since the last release suggests the project is aging; verify that it remains compatible with your pytest and Python versions before relying…
Integrates pytest with Allure Report to generate rich, interactive test reports with detailed execution history, attachments, and test categorization.
A pytest plugin that lets you customize the exit code pytest returns when tests fail or when no tests are found, instead of using pytest's default exit codes.
Harbor Rewardkit defines and runs verifiers for task evaluation, supporting programmatic criteria, LLM judges, and agent judges with MCP server integration.
A pytest plugin that displays test failures and errors immediately as they occur, rather than deferring them until the end of the test session.
A pytest plugin that runs each test in a forked subprocess to isolate crashes and segfaults, preventing a single test failure from terminating the entire test suite.
Connects an LLM agent directly to a real Chrome/Chromium browser via the Chrome DevTools Protocol, allowing the agent to control browser tasks and self-improve by writing helper code during execution.
Provides compatibility utilities for working with multiple versions of Ansible, abstracting version-specific differences and facilitating integration with Ansible-based tools.
Install it if you are building tools or automation that must work across multiple Ansible versions.
Schemathesis generates test cases from OpenAPI and GraphQL schemas to automatically find API bugs through property-based testing, including edge cases, schema violations, and stateful workflow failures.
Install it if you own or test an OpenAPI or GraphQL API and want to catch bugs before users do.
A pytest plugin that provides fixtures to manage PostgreSQL database instances and connections for testing, handling both process lifecycle and client connection setup.
DeepEval is an LLM evaluation framework that runs unit tests on language model applications using metrics like G-Eval, answer relevancy, and hallucination detection, with many metrics executing locally on your machine.
Choreographer provides remote control of Chrome-based browsers from Python via the DevTools Protocol, enabling programmatic browser automation and interaction.
However, be aware that only Chrome-ish browsers are supported, the package is still evolving, and you must have Chrome installed on your system.
PyHamcrest provides a framework for writing declarative matcher objects that enable flexible, readable assertions in unit tests and data validation scenarios.
Install it if you want more readable, maintainable test assertions.
Nox automates testing across multiple Python environments using Python configuration files instead of INI-style config, creating isolated sessions for tests, linting, and other development tasks.
mitmproxy is an interactive, SSL/TLS-capable intercepting proxy that captures and inspects HTTP/1, HTTP/2, and WebSocket traffic with console, command-line, or web-based interfaces.
Install it if you need interactive traffic inspection, debugging, or testing capabilities.
A task runner that reads task definitions from pyproject.toml or poe_tasks.toml and executes them as commands, shell scripts, Python expressions, or function calls, with support for sequential, parallel, and DAG composition.
Install it if you want to centralize project automation in pyproject.toml and avoid shell scripts or Makefiles.