$npx skillfedfor your agent

coverage-threshold

Tools for coverage threshold limits

With conditionsPyPI Quality AssuranceReleased May 2025110.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — coverage_threshold-0.6.2-py3-none-any.whl
v0.6.2 · released 2025-05-25 · Python >=3.7 · 1 runtime deps: toml

Yes, if you need to enforce coverage minimums in your test workflow. The tool is straightforward, has minimal dependencies, and integrates cleanly with the standard coverage tool. The aging maintenance status (446 days since last release) is a minor concern for a stable utility, but the repository remains active and the package supports current Python versions. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a coverage.json file generated by the coverage tool; typically run after coverage json in a test workflow.
  • Low install friction with a single lightweight dependency (toml).
  • Repository is aging (446 days since last release) but not archived; last commit was recent.

License · maintenance · safety

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

last release 2025-05-25 (446 days) · last repo commit 2025-05-25 · 17 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 110,849 downloads/mo, #12,440 on PyPI

Verify before relying

pip install coverage-threshold

# After running coverage json:
coverage-threshold --line-coverage-min 95

# Or with config file (pyproject.toml):
coverage-threshold
  • Whether per-module threshold configuration supports glob patterns or only exact path prefixes as documented.
  • Whether the tool integrates with CI/CD systems or requires manual invocation in pipeline steps.
  • Performance characteristics when validating coverage for large codebases.
Same gist for agents: .md · .json

What it is and what it does

coverage-threshold is a command-line tool that enforces code coverage standards by reading JSON reports from Python's coverage tool and comparing them against configurable minimum thresholds. It supports both global coverage minimums (line, branch, or combined) and per-file thresholds, with the ability to override defaults for specific modules or files via TOML configuration.

The tool is designed to integrate into test workflows as a gating step—run your tests with coverage, generate a JSON report, then invoke coverage-threshold to verify the results meet your project's standards. Configuration lives in pyproject.toml by default, allowing thresholds to be version-controlled alongside your code. It has a single runtime dependency (toml) and supports Python 3.7 and later.

Use it for

  • Enforce minimum line coverage across a codebase in CI pipelines to prevent coverage regressions.
  • Set different per-file thresholds for critical modules while allowing lower coverage in less critical code.
  • Validate that coverage.json reports meet organizational standards before merging pull requests.
  • Configure module-specific coverage rules using path prefixes to handle varying quality requirements across a project.
  • Gate test suite completion on coverage thresholds without requiring external CI/CD platform features.

Worth the install?

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

With conditions

Yes, if you need to enforce coverage minimums in your test workflow.

The tool is straightforward, has minimal dependencies, and integrates cleanly with the standard coverage tool. The aging maintenance status (446 days since last release) is a minor concern for a stable utility, but the repository remains active and the package supports current Python versions. No known vulnerabilities.

Install

coverage-threshold on PyPI

Before you install

Low install friction with a single lightweight dependency (toml). Repository is aging (446 days since last release) but not archived; last commit was recent. Supports Python 3.7 through 3.13.

Requires a coverage.json file generated by the coverage tool; typically run after coverage json in a test workflow.

License in practice

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

Quickstart

pip install coverage-threshold

# After running coverage json:
coverage-threshold --line-coverage-min 95

# Or with config file (pyproject.toml):
coverage-threshold

Verify before relying

  • Whether per-module threshold configuration supports glob patterns or only exact path prefixes as documented.
  • Whether the tool integrates with CI/CD systems or requires manual invocation in pipeline steps.
  • Performance characteristics when validating coverage for large codebases.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
toml
MaintenanceAging 446 days since the last release
Last repo commit
First released
Downloads110,849 / month, #12,440 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: coverage_threshold-0.6.2-py3-none-any.whl

Tags

Capabilities
coverage threshold validationenforce minimum code coveragecoverage report checkercoverage quality gatescode coverage minimumscoverage compliance toolcoverage enforcement
Topics
testingcoverage-enforcementci-cd

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 › “coverage threshold validation”

  • coverage-thresholdValidates Python code coverage against configurable minimum…
  • covdefaultsA coverage plugin that automatically applies sensible default…
  • pytest-coverpytest-cover is a pytest plugin for measuring code coverage, but it…

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

More Quality Assurance packages

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
ruff Worth it
PyPI · Python Modules · released Aug 2026

Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.

Install it if you work with CloudFormation templates.

MIT-0pure Python
114.9Mdownloads / mo

See also xenon · slipcover · spm-calculator · pytest-fail-slow · validate-pyproject · covdefaults · tach · iregexp-check · mypy-strict-kwargs · oslo.limit