$npx skillfedfor your agent

coverage-badge

Generate coverage badges for Coverage.py.

With conditionsPyPI TestingReleased Aug 2024355.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — coverage_badge-1.1.2-py2.py3-none-any.whl
v1.1.2 · released 2024-08-02 · 2 runtime deps: coverage, setuptools

Yes, if you use Coverage.py and want a simple, low-friction way to generate coverage badges for README files or CI/CD workflows. The tool is stable, actively maintained, and has no known vulnerabilities. Install it only if you need basic coverage badge generation; if you need richer badge types (test counts, linting reports), consider genbadge instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a .coverage data file in the working directory, generated by running Coverage.py first.
  • Low friction install with just two runtime dependencies (coverage and setuptools).
  • Actively maintained with recent commits, though in maintenance mode with no new features planned.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2024-08-02 (742 days) · last repo commit 2026-04-13 · 204 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 355,388 downloads/mo, #7,290 on PyPI

Verify before relying

pip install coverage-badge

Run coverage first, then generate the badge:
  coverage run -m pytest
  coverage-badge -o coverage.svg
  • Whether the package works with all modern Python versions despite unspecified python_support.
  • Current state of maintenance mode and likelihood of bug fixes vs. feature requests.
Same gist for agents: .md · .json

What it is and what it does

coverage-badge is a command-line tool that converts Coverage.py coverage data into an SVG badge graphic. It reads the .coverage file that Coverage.py generates and outputs a visual badge showing the coverage percentage, styled after shields.io templates. The tool is straightforward: run Coverage.py to collect metrics, then run coverage-badge to generate the badge SVG, either printing it to stdout or saving it to a file.

The package is in maintenance mode, meaning it receives occasional fixes but no new features. It depends on coverage and setuptools. For projects seeking richer badge support (test counts, flake8 reports, etc.), the maintainer recommends genbadge as an alternative. The badge itself uses color ranges to indicate coverage levels, with a plain-color mode available via command-line flag.

Use it for

  • Display a live coverage percentage badge in a GitHub README to show project test coverage at a glance.
  • Automate badge generation in CI/CD pipelines after running test suites with Coverage.py.
  • Generate coverage badges for documentation sites or project dashboards that track code quality metrics.
  • Create visual indicators of coverage trends across multiple project branches or releases.

Worth the install?

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

With conditions

Yes, if you use Coverage.py and want a simple, low-friction way to generate coverage badges for README files or CI/CD workflows.

The tool is stable, actively maintained, and has no known vulnerabilities. Install it only if you need basic coverage badge generation; if you need richer badge types (test counts, linting reports), consider genbadge instead.

Install

coverage-badge on PyPI

Before you install

Low friction install with just two runtime dependencies (coverage and setuptools). Actively maintained with recent commits, though in maintenance mode with no new features planned.

Requires a .coverage data file in the working directory, generated by running Coverage.py first.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install coverage-badge

Run coverage first, then generate the badge:
  coverage run -m pytest
  coverage-badge -o coverage.svg

Verify before relying

  • Whether the package works with all modern Python versions despite unspecified python_support.
  • Current state of maintenance mode and likelihood of bug fixes vs. feature requests.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
coveragesetuptools
MaintenanceActively maintained 742 days since the last release
Last repo commit
First released
Downloads355,388 / month, #7,290 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: Testing

Evidence: coverage_badge-1.1.2-py2.py3-none-any.whl

Tags

Capabilities
coverage badge generatorcoverage.py badge svgtest coverage visualizationcoverage report badgeci coverage badgecoverage percentage display
Topics
coverage-reportingci-cd-integrationbadge-generation
PyPI keywords
coveragebadgeshield

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 badge generator”

  • coverage-badgeGenerates SVG coverage badges from Coverage.py data files, displaying…
  • genbadgeGenerates SVG badges for CI/CD tools and test frameworks that don't…
  • anybadgeGenerates SVG badge images with configurable thresholds and colors,…

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 anybadge · genbadge · docstr-coverage · covdefaults · coveralls · django-coverage-plugin · coverage_enable_subprocess · coverage-conditional-plugin · resvg_py