badgen / badgen.net

Fast badge service
https://badgen.net
ISC License
1.43k stars 125 forks source link

[idea] range for pypi python versions #657

Closed jdknight closed 4 months ago

jdknight commented 5 months ago

Python packages may have a large version set supported. For example:

image

It may be nice to identify a range for packages that define a sequence of versions. For example (mockup):

image

No worries if not desired.

amio commented 5 months ago

The shorter one is more eye pleasing. I think we can use static badge for this case, if it's a range, then it usually doesn't need update frequently https://badgen.net/static/python/2.7%20%7C%203.4-3.12

jdknight commented 4 months ago

Ah ~ static badge problem makes more sense than trying to support a range automatically (since long interpreter sets are most likely a rarity). Thanks for the suggestion. 🙇