I believe you’re looking for the PEP 503 simple API https://www.python.org/dev/peps/pep-0503/. This is what pip uses to find the hashes (among other things) as well. The hash value is included as a fragment in the URL. TP
On 12/2/2019, at 23:03, Eric Peterson
wrote: Hi all,
When in the "Download files" section of a project on PyPI, next to each download there is a convenient "SHA256" link that will copy the SHA-256 fingerprint for that file to the clipboard. I am wondering if there is a programmatic way to access the SHA-256 for a file (besides just scraping the web page)? Ideally there would be some way to construct a URL based on the name of the file that, when called, would return the fingerprint.
Thanks, Eric -- Distutils-SIG mailing list -- distutils-sig@python.org To unsubscribe send an email to distutils-sig-leave@python.org https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/distutils-sig@python.org/message/FLNOE...