$npx skillfedfor your agent

pytest-monitor

Pytest plugin for analyzing resource usage.

With conditionsPyPI TestingReleased Jun 2023113.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_monitor-1.6.6-py3-none-any.whl
v1.6.6 · released 2023-06-25 · Python >=3.5 · 5 runtime deps: pytest, requests, psutil, memory-profiler, wheel

Yes, if you need historical test performance tracking and your project is on a stable pytest version. The plugin is low-friction to install and requires no code changes—it activates automatically. However, the dormant maintenance status (last release June 2023) means compatibility with very recent pytest or Python versions is unverified; test this in a staging environment first if you're on cutting-edge tooling. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.5+.
  • The plugin does not work with unittest—only pytest test suites are supported.
  • Low install friction with a pure-Python wheel distribution.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in commercial or proprietary projects.

last release 2023-06-25 (1146 days) · last repo commit 2024-07-15 · 180 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 113,711 downloads/mo, #12,333 on PyPI

Verify before relying

pip install pytest-monitor
pytest your_tests/
# After the run, a .pymon SQLite database will be created in the current directory
# with resource consumption data for each test.
  • Whether dormant maintenance status affects compatibility with recent pytest versions or Python 3.9+
  • Performance overhead of continuous monitoring on large test suites
  • Whether the SQLite backend scales adequately for projects with thousands of tests
Same gist for agents: .md · .json

What it is and what it does

pytest-monitor is a pytest plugin that runs automatically once installed and measures resource consumption for every test function. It collects memory usage (via memory-profiler), CPU usage (via psutil), and wall-clock execution time, storing all measurements in a local .pymon SQLite database alongside environment metadata (CPU count, RAM, Python version, system info, and SCM commit hash). This creates a historical record of test performance across runs and environments.

The plugin is designed for developers who need to track how test resource usage changes over time, compare behavior across different machines or configurations, or identify performance regressions. It requires Python 3.5+ and works only with pytest (not unittest). Results are stored locally by default, though optional backend services (monitor-server-api or pytest-monitor-backend) can be used for centralized storage and querying.

Use it for

  • Track memory and CPU trends in test suites across multiple commits to detect performance regressions early.
  • Compare test resource usage between development, CI, and production environments to identify platform-specific issues.
  • Identify memory leaks or CPU hotspots in tests by analyzing historical consumption patterns in the SQLite database.
  • Establish performance baselines for test suites and alert when resource usage exceeds thresholds.
  • Debug flaky tests by correlating resource spikes with test failures across different runs.

Worth the install?

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

With conditions

Yes, if you need historical test performance tracking and your project is on a stable pytest version.

The plugin is low-friction to install and requires no code changes—it activates automatically. However, the dormant maintenance status (last release June 2023) means compatibility with very recent pytest or Python versions is unverified; test this in a staging environment first if you're on cutting-edge tooling. No known security vulnerabilities.

Install

pytest-monitor on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance is dormant (last release 2023-06-25, 1146 days ago), though the repository remains active and the codebase is marked Production/Stable. Depends on pytest, psutil, and memory-profiler—all widely used, stable packages.

Requires Python 3.5+. The plugin does not work with unittest—only pytest test suites are supported.

License in practice

MIT license is permissive and imposes no restrictions on use, modification, or distribution in commercial or proprietary projects.

Quickstart

pip install pytest-monitor
pytest your_tests/
# After the run, a .pymon SQLite database will be created in the current directory
# with resource consumption data for each test.

Verify before relying

  • Whether dormant maintenance status affects compatibility with recent pytest versions or Python 3.9+
  • Performance overhead of continuous monitoring on large test suites
  • Whether the SQLite backend scales adequately for projects with thousands of tests

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
pytestrequestspsutilmemory-profilerwheel
MaintenanceDormant 1,146 days since the last release
Last repo commit
First released
Downloads113,711 / month, #12,333 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 :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Testing

Evidence: pytest_monitor-1.6.6-py3-none-any.whl

Tags

Capabilities
pytest resource monitoringtest memory profilingcpu usage tracking testspytest performance metricstest execution time measurementpytest resource consumptiontest performance history
Topics
performance-profilingtest-monitoringresource-tracking

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 resource monitoring”

  • pytest-monitorA pytest plugin that automatically measures and logs resource…
  • pytest-threadleakA pytest plugin that detects when tests leak threads—threads that…
  • pytest-operatorA pytest plugin that provides fixtures and helpers for writing…

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

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-logging · memory-profiler · pytest-regressions · pytest-threadleak · pytest-repeat · pytest-snapshot · pytest-replay · pytest-flakefinder · pytest-xml · pytest-find-dependencies