$npx skillfedfor your agent

pytest-harvest

Store data created during your pytest tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes.

With conditionsPyPI Python ModulesReleased Mar 2024730.5K downloads / moBSD 3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_harvest-1.10.5-py2.py3-none-any.whl
v1.10.5 · released 2024-03-16 · 6 runtime deps: packaging, decopatch, makefun, six, pathlib2, funcsigs

Yes, if you need to collect and aggregate data across multiple tests for benchmarking or post-test analysis. The package is production-stable, has low install friction, and carries no security vulnerabilities. The aging status (881 days since release) is a minor concern but not a blocker if pytest compatibility remains adequate; verify that it works with your pytest version before committing to it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with six runtime dependencies; the package is aging (881 days since last release) but maintains production-stable status and the repository remains active with a recent commit.

License · maintenance · safety

BSD 3-Clause (permissive) — BSD 3-Clause is permissive and poses no restrictions on commercial or private use; you may use, modify, and distribute the package freely provided you include the license notice.

last release 2024-03-16 (881 days) · last repo commit 2025-11-13 · 77 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 730,549 downloads/mo, #5,212 on PyPI

Verify before relying

pip install pytest-harvest

import pytest_harvest

# In a test, store data via pytest_harvest's fixture or API
# Retrieve aggregated results after session completes
  • Whether the package works with pytest versions currently in active use
  • Whether the aging status (881 days since release) affects compatibility with modern test frameworks
  • How to access stored data programmatically after session completion
Same gist for agents: .md · .json

What it is and what it does

pytest-harvest is a pytest plugin that intercepts and stores arbitrary data generated during test execution, then makes that data available after the test session ends. It's designed for scenarios where you need to collect metrics, benchmarks, or other artifacts from individual tests and analyze them as a group—rather than just pass/fail results.

The package works by providing hooks into pytest's execution lifecycle. You store data during test runs (typically via fixtures or direct API calls), and pytest-harvest holds that data in memory, making it queryable once all tests complete. This is particularly useful for applicative benchmarking, where you want to gather performance numbers from many test cases and analyze them together, or for collecting structured test artifacts that need post-processing.

Use it for

  • Collect performance metrics from multiple test runs and generate a summary report at the end of the session.
  • Store custom data (e.g., API response times, memory usage) from each test for later analysis or export.
  • Aggregate test results into a dataframe for statistical analysis or visualization after the test suite finishes.
  • Benchmark different code paths across a test suite and compare results in a single report.
  • Archive test artifacts and metadata for post-mortem analysis without writing individual files per test.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to collect and aggregate data across multiple tests for benchmarking or post-test analysis.

The package is production-stable, has low install friction, and carries no security vulnerabilities. The aging status (881 days since release) is a minor concern but not a blocker if pytest compatibility remains adequate; verify that it works with your pytest version before committing to it.

Install

pytest-harvest on PyPI

Before you install

Low install friction with six runtime dependencies; the package is aging (881 days since last release) but maintains production-stable status and the repository remains active with a recent commit.

License in practice

BSD 3-Clause is permissive and poses no restrictions on commercial or private use; you may use, modify, and distribute the package freely provided you include the license notice.

Quickstart

pip install pytest-harvest

import pytest_harvest

# In a test, store data via pytest_harvest's fixture or API
# Retrieve aggregated results after session completes

Verify before relying

  • Whether the package works with pytest versions currently in active use
  • Whether the aging status (881 days since release) affects compatibility with modern test frameworks
  • How to access stored data programmatically after session completion

Package facts

LicenseBSD 3-Clause permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
packagingdecopatchmakefunsixpathlib2funcsigs
MaintenanceAging 881 days since the last release
Last repo commit
First released
Downloads730,549 / month, #5,212 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing

Evidence: pytest_harvest-1.10.5-py2.py3-none-any.whl

Tags

Capabilities
pytest test data collectioncapture pytest resultspytest session data storagetest benchmarking pytestpytest fixture data retrievalpytest test metrics collectionpytest result aggregation
Topics
pytest-plugintest-metricsbenchmarking
PyPI keywords
pytesttestresultstorefixturecollectbenchmarkartifactsessiondatadataframe

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pytest test data collection”

  • pytest-harvestpytest-harvest captures and stores data generated during test…
  • pytest-unorderedProvides a pytest assertion helper to compare collections by content…
  • pytest-tinybirdA pytest plugin that automatically posts test results to Tinybird's…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pytest-cases · pytest-benchmark · pytest-print · pytest-catchlog · outcome · pytest-structlog · pytest-reraise · pytest-metadata · buildkite-test-collector · genbadge