genbadge
Generate badges for tools that do not provide one.
Decision gist · record as of 2026-08-14
Yes, if you need to generate badges for test or quality tools that don't provide them natively. The package is stable, has low install friction, and carries no known vulnerabilities. The aging maintenance is a minor concern for a mature tool, but the active repository and broad Python version support suggest it remains usable.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-Python wheel distribution.
- Aging maintenance status, but the repository remains active and the package is marked Production/Stable.
License · maintenance · safety
BSD 3-Clause (permissive) — BSD 3-Clause is permissive; you can use this package in commercial and proprietary projects with minimal restrictions, provided you include the license notice.
last release 2025-11-24 (263 days) · last repo commit 2025-11-24 · 87 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 589,669 downloads/mo, #5,859 on PyPI
Alternatives
Verify before relying
pip install genbadge
from genbadge import badge
badge.create_badge('coverage', 'percentage', 'green', 'coverage.svg')- Whether the package generates badges from live tool output or requires pre-computed metrics as input.
- What badge styles or customization options are available beyond basic color and label parameters.
- Whether the CLI tool supports batch badge generation or only single-badge workflows.
- Exact API surface and parameter names for the Python library interface.
What it is and what it does
genbadge is a command-line tool and Python library that generates SVG badges for test and code quality metrics. It fills the gap for tools like pytest, flake8, and coverage that either don't produce badges natively or require manual badge creation. The package accepts metric data and renders them as shield-style SVG badges suitable for embedding in README files and documentation.
The package depends on click for CLI handling, pillow for image operations, and requests for potential remote operations. It supports Python 2.7 through 3.14 and is distributed as a pure-Python wheel, making installation straightforward. The repository remains active with broad Python version support.
Use it for
- Generate a coverage badge from pytest output to display test coverage in a GitHub README.
- Create a flake8 code quality badge showing linting status for CI/CD pipelines.
- Build custom metric badges for build status, dependency health, or custom test suites in markdown.
- Automate badge generation as part of a CI workflow to keep project metrics visible without manual updates.
- Generate shields for multiple test frameworks in a single project to consolidate quality signals.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to generate badges for test or quality tools that don't provide them natively.
The package is stable, has low install friction, and carries no known vulnerabilities. The aging maintenance is a minor concern for a mature tool, but the active repository and broad Python version support suggest it remains usable.
Install
genbadge on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Aging maintenance status, but the repository remains active and the package is marked Production/Stable.
License in practice
BSD 3-Clause is permissive; you can use this package in commercial and proprietary projects with minimal restrictions, provided you include the license notice.
Quickstart
pip install genbadge
from genbadge import badge
badge.create_badge('coverage', 'percentage', 'green', 'coverage.svg')
Verify before relying
- Whether the package generates badges from live tool output or requires pre-computed metrics as input.
- What badge styles or customization options are available beyond basic color and label parameters.
- Whether the CLI tool supports batch badge generation or only single-badge workflows.
- Exact API surface and parameter names for the Python library interface.
Package facts
| License | BSD 3-Clause permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagessetuptoolsclickpillowrequestspathlib2importlib_resources |
| Maintenance | Aging 263 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 589,669 / month, #5,859 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Information TechnologyLicense :: 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.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: genbadge-1.1.3-py2.py3-none-any.whl
Tags
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 › “generate svg badges”
- genbadgeGenerates SVG badges for CI/CD tools and test frameworks that don't…
- anybadgeGenerates SVG badge images with configurable thresholds and colors,…
- coverage-badgeGenerates SVG coverage badges from Coverage.py data files, displaying…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also coverage-badge · anybadge · schemdraw · sphinxcontrib-svg2pdfconverter · pytest-harvest · svg.py · markdown-graphviz-inline · pytest-cases · markdown-inline-graphviz-extension · pylint-gitlab