on-internet
← Community

How to get release versions and dates from Pypi without downloading each release?

Stack Overflow ·

I'm using the Pypi JSON API to get releases information for a package; this is available at the 'detail' endpoint: https://docs.pypi.org/api/json/#get-a-project The problem is that i need each existing release number and publishing date; this is actually provided in the field 'releases' of the JSON object. However, this field is marked as deprecated since some years, so i cannot rely on it, despite that it has all the information i need. The solution proposed by the Pypi team for this case is to use Pypi index API: https://docs.pypi.org/api/index-api/#get-distributions-for-project So theoretic

Comments

Sign in or sign up to comment and upvote.

No comments yet.