Skip to content

Coverage badges for package READMEs #2

Closed

Description

@patrickballard

🗺️ Roadmap, Phase 1 (the tracker): coverage badges. This issue is one step of the wheelgap roadmap. Read that discussion for the bigger picture and where this fits, and ask questions about this step here.

Package maintainers should be able to show their wheel coverage in their README, and every badge is a link back to the tracker:

wheels

shields.io can draw a badge from any JSON file in its endpoint format, so the tracker only needs to publish one small JSON file per package:

{"schemaVersion": 1, "label": "wheels", "message": "9/9 platforms", "color": "brightgreen"}

used as https://img.shields.io/endpoint?url=https://wheelgap.github.io/tracker/badge/numpy.json.

What to do

  • Add a script (e.g. scripts/build_badges.py) that reads data/coverage.json and writes badge/<name>.json for each package, and run it in the publish job in .github/workflows/scan.yml (into _site/badge/, not committed).
  • Decide what counts: e.g. platforms with a wheel for the newest non-free-threaded Python in the data, and a colour scale (all green / mostly / some). Say what you chose in the PR.
  • On the site, add a "Badge for your README" snippet to the package lookup card, with copyable Markdown.
  • Keep names URL-safe: use the canonical name (lowercase, -).

Activity

  1. added
    enhancement
    help wanted
    roadmap
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wantedroadmap

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions