Example: https://notarypy.soodoku.workers.dev/badge/pydantic/2.7.2/pydantic-2.7.2-py3-none-any.whl
Uses the PyPI Integrity API, e.g., https://pypi.org/integrity/ethnicolr/0.14.0/ethnicolr-0.14.0-py3-none-any.whl/provenance, and produces a Shields Badge based on that.
A badge generator for Python package attestations on PyPI, deployed as a Cloudflare Worker.
This service generates badges that indicate whether a Python package on PyPI has provenance attestations. It uses Shields.io to render the badges and provides a simple API endpoint to check attestation status.
Add a badge to your README by using this URL format:

For example:

- Verified (green): Package has provenance attestations
- None (red): Package does not have provenance attestations
- Node.js (v18 or higher recommended)
- Wrangler CLI
- Cloudflare account
- Clone this repository
- Install dependencies:
npm install
- Run the worker locally:
npm run dev
- Test the badge endpoint at http://localhost:8787/badge/pydantic/2.7.2/pydantic-2.7.2-py3-none-any.whl
Deploy to Cloudflare Workers:
npm run deploy
MIT
Made with ❤️ by GojiPlus