Repository navigation
README: one badge row, one ecosystem section, and a link to the book repository - #168
Merged
Merged
Conversation
…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.
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.
Three badges in three different orders, two licence colours, three licence link targets, and hand-written Python ranges.
ml4t-modelsbadged3.12+while its classifiers stop at 3.14. The ecosystem section appeared under three titles at three depths and was absent fromml4t-dataandml4t-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.ymlonmain. All six renderCI - passing, checked today.img.shields.io/pypi/pyversions, which reads the classifiers PyPI publishes. It renders3.12 | 3.13 | 3.14 | 3.15forml4t-dataand3.12 | 3.13 | 3.14for this one where that is what the classifiers say, so it cannot drift from them again.img.shields.io/pypi/dmansweredrate limited by upstream serviceon 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.