docs: serve downloads badge from pepy instead of shields - #192
Merged
Merged
Conversation
Swaps the README downloads badge from shields.io to pepy.tech, which serves pre-rendered SVGs from its own CDN and does not rate-limit like the shields PyPI endpoint does.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
SkyeAv
added a commit
that referenced
this pull request
Sep 18, 2026
Cut 19.1.0 and bump package version in pyproject.toml, uv.lock, and CITATION.cff. Minor: add the `tablassert quick-map` fullmap term-inspection command (#191) and carry the DAKP prevention predicate family ahead of the pinned Biolink model via PREDICATE_OVERRIDES (#193). The README PyPI downloads badge now serves from pepy instead of shields (#190, #192). Changelog: - Version the Unreleased section as 19.1.0, add the missing #191 entry under Added, add a Changed entry for #190/#192, and add the PR link to the existing #193 entry. Docs: none needed here; #191 and #193 shipped their own docs. Testing: - make check -> pass: 1649 passed, 52 skipped; Rust tests 156 passed, 1 ignored; lint, format, pyright, and clippy pass. - uv lock --check -> pass. - uv run mkdocs build --strict -> pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Swaps the README downloads badge from shields.io to pepy.tech, which serves pre-rendered SVGs from
its own CDN and does not rate-limit like the shields PyPI endpoint does.
Badge
README.mdnow useshttps://static.pepy.tech/badge/tablassert/monthin place ofhttps://img.shields.io/pypi/dm/tablassert.svg. The/monthperiod preserves the previouspypi/dm(downloads per month) semantics.https://pepy.tech/project/tablassertso the badge and its destinationcome from the same data source. The
PyPI versionbadge above it still links to PyPI.Design
downloads | unknown. pepy serves a static SVG with a 12h cache header, so the badge survivestraffic spikes. This continues the intent of docs: restore reliable PyPI downloads badge #190 (restoring a reliable downloads badge) with a
source that does not depend on shields uptime.
around it. A
personalized-badgeURL could color-match, but it adds a long query string for acosmetic gain.
PyPI-backed and none showed rate limiting.
Testing
curl -sI https://static.pepy.tech/badge/tablassert/month->HTTP/2 200,content-type: image/svg+xml,cache-control: max-age=43200grep -rn "pypi/dm" .-> no matches remaining in tracked files