-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Badge request: piwheels package version #6506
Comments
Hello @lordmauve ! 👋🏻 Thanks for the suggestion. Do you know if there are any rate-limiting constraints on the piwheels API? |
@bennuttall, one of the creators of the service, may be able to answer. |
There's no constraint as the JSON API is statically generated. I was considering implementing this in piwheels, see piwheels/piwheels#216 What would be the best way forward? |
That's entirely up to you! Obviously, you can freely use the endpoint badge you mentioned in piwheels/piwheels#216. There aren't any restrictions there, though we obviously do encourage users to do sensible things! The barrier of entry for integrating a badge as part of the core Shields.io service is higher. However, a badge integrating with the piwheels service would meet our badge guidelines as far as I can tell. In particular it's a service targetted at developers with an easy-to-use and documented API. If you want to get a feel of the work involved, you can check our tutorial out, or take a look at our existing PyPi implementation. |
Ok cool I think it should be easy enough to add to piwheels. @lordmauve if you fancy pairing on it that would be fun. |
📋 Description
Show the current version of a Python package on piwheels.org:
🔗 Data
piwheels has a JSON API, documented here: https://www.piwheels.org/json.html
🎤 Motivation
piwheels.org is a mirror of PyPI, the Python Package Index, with packages rebuilt on Raspberry Pi OS for ARM CPUs. I'd like to include a "piwheels" badge to show support for piwheels and also to allow me to spot if piwheels has fallen behind PyPI (because a package is not building successfully for Raspberry PI).
The text was updated successfully, but these errors were encountered: