Skip to content

README: one badge row, one ecosystem section, and a link to the book repository - #168

Merged
stefan-jansen merged 1 commit into
mainfrom
docs/uniform-readme-header
Dec 2, 2026
Merged

stefan-jansen merged 1 commit into
mainfrom
docs/uniform-readme-header

Conversation

@stefan-jansen

Copy link
Copy Markdown
Contributor

Three badges in three different orders, two licence colours, three licence link targets, and hand-written Python ranges. ml4t-models badged 3.12+ while its classifiers stop at 3.14. The ecosystem section appeared under three titles at three depths and was absent from ml4t-data and ml4t-live, and none of the six linked the book repository that sends them their readers.

Every README now opens with the same four badges in the same order:

  • CI from ci.yml on main. All six render CI - passing, checked today.
  • PyPI version, unchanged.
  • Python versions from img.shields.io/pypi/pyversions, which reads the classifiers PyPI publishes. It renders 3.12 | 3.13 | 3.14 | 3.15 for ml4t-data and 3.12 | 3.13 | 3.14 for this one where that is what the classifiers say, so it cannot drift from them again.
  • Monthly downloads from pepy.tech. img.shields.io/pypi/dm answered rate limited by upstream service on three consecutive requests, so it is not usable.

The licence badge is gone from the row. GitHub already shows the licence in the About panel, and the README keeps its licence link.

Then the same ecosystem section in the same place in all six: the workflow image, a table of all six libraries with the current one marked and the other five linked to their repositories, the shared contracts in ml4t-specs, and the book repository. The image alt text now describes the workflow instead of naming the diagram.

…repository

The six library READMEs carried three badges in three different orders, two licence
colours, three licence link targets, and hand-written Python ranges: ml4t-models
badged 3.12+ while its classifiers stop at 3.14. The ecosystem section appeared
under three titles at three depths and was missing from ml4t-data and ml4t-live, and
not one of the six linked the book repository that sends them their readers.

Every README now opens with the same four badges in the same order - CI, PyPI
version, Python versions, monthly downloads - followed by the same ecosystem section:
the workflow image, a table of all six libraries with the current one marked, the
shared contracts in ml4t-specs, and the book repository.

The Python badge now reads img.shields.io/pypi/pyversions, which takes the range from
the classifiers PyPI publishes and cannot drift from them again. The downloads badge
uses pepy.tech because img.shields.io/pypi/dm answers 'rate limited by upstream
service' on every request I made.
Copilot AI balanced review requested due to automatic review settings December 2, 2026 20:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@stefan-jansen
stefan-jansen merged commit 9e32e2a into main Dec 2, 2026
59 of 62 checks passed
@stefan-jansen
stefan-jansen deleted the docs/uniform-readme-header branch December 2, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants