$npx skillfedfor your agent

pytest-snob

A pytest plugin that only selects meaningful python tests to run.

With conditionsPyPI TestingReleased Jan 202592.9K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_snob-0.1.14-py3-none-any.whl
v0.1.14 · released 2025-01-12 · Python >=3.9 · 2 runtime deps: snob_lib, pytest

Yes, if you have a substantial test suite and want to reduce CI time. The plugin is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem—unnecessary test execution. The main caveat is ensuring snob_lib wheels are available for your platform; verify that before committing to it in your pipeline.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; snob_lib is a compiled Rust extension, so installation depends on pre-built wheels for your platform.
  • Low friction to install; the package is a pure Python wheel with only two runtime dependencies (snob_lib and pytest).
  • Actively maintained with recent releases and no archived status.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal legal constraints.

last release 2025-01-12 (579 days) · last repo commit 2026-06-28 · 69 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 92,881 downloads/mo, #13,416 on PyPI

Verify before relying

pip install pytest-snob

pytest --snob --commits origin/main..HEAD
  • Whether snob_lib wheels are available for all major platforms and Python versions you target.
  • How the plugin handles monorepos or non-standard repository structures.
  • Performance characteristics when analyzing large codebases with complex dependency graphs.
Same gist for agents: .md · .json

What it is and what it does

pytest-snob is a pytest plugin that integrates the snob static analysis library to filter which tests run based on the files changed in a commit range. Instead of running your entire test suite on every CI run, it analyzes your Python codebase's dependency graph to determine which tests could be affected by the changes, then runs only those. This saves time and resources by avoiding redundant test execution.

The plugin wraps snob, a Rust library compiled to Python via PyO3 and Maturin, which efficiently parses your project's import structure and tracks which modules depend on which files. You invoke it by passing commit ranges to pytest (e.g., `--commits origin/main..HEAD`), and it automatically selects the relevant test subset. It requires Python 3.9 or later and depends on pytest and snob_lib at runtime.

Use it for

  • Speed up CI pipelines by running only tests affected by pull request changes instead of the full suite.
  • Reduce local development feedback time by running only tests impacted by your uncommitted changes.
  • Validate that a hotfix to a single module doesn't break dependent code without re-running unrelated tests.
  • Optimize resource usage in resource-constrained CI environments by skipping unnecessary test execution.
  • Implement regression test selection in large monorepos where full test runs are prohibitively slow.

Worth the install?

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

With conditions

Yes, if you have a substantial test suite and want to reduce CI time.

The plugin is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem—unnecessary test execution. The main caveat is ensuring snob_lib wheels are available for your platform; verify that before committing to it in your pipeline.

Install

pytest-snob on PyPI

Before you install

Low friction to install; the package is a pure Python wheel with only two runtime dependencies (snob_lib and pytest). Actively maintained with recent releases and no archived status.

Requires Python 3.9 or later; snob_lib is a compiled Rust extension, so installation depends on pre-built wheels for your platform.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal legal constraints.

Quickstart

pip install pytest-snob

pytest --snob --commits origin/main..HEAD

Verify before relying

  • Whether snob_lib wheels are available for all major platforms and Python versions you target.
  • How the plugin handles monorepos or non-standard repository structures.
  • Performance characteristics when analyzing large codebases with complex dependency graphs.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
snob_libpytest
MaintenanceActively maintained 579 days since the last release
Last repo commit
First released
Downloads92,881 / month, #13,416 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: PytestLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3

Evidence: pytest_snob-0.1.14-py3-none-any.whl

Tags

Capabilities
pytest selective test runningrun only affected teststest impact analysiscommit-based test filteringreduced test suite executiondependency graph test selectionrts pytest plugin
Topics
test-optimizationci-accelerationrust-extension
PyPI keywords
snobpytesttestingrustrtsmaturinpyo3

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 › “commit-based test filtering”

  • pytest-snobA pytest plugin that selects and runs only the tests affected by…
  • python-semantic-releaseAutomates semantic versioning and release management for Python…
  • git-cliffgit-cliff generates changelog files from Git history using…

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-picked · pytest-testmon · snob-lib · pytest-filter-subpackage · ignore-python · pytest-unused-fixtures · pytest-incremental · pytest-cagoule · maturin-import-hook · pytest-regex