On Feb 12, 2019, at 10:31 AM, Dustin Ingram <di@python.org> wrote:
Hashes are also available via PyPI's JSON API.
On Tue, Feb 12, 2019 at 7:15 AM Tzu-ping Chung <uranusjr@gmail.com> wrote:
--I believe you’re looking for the PEP 503 simple API. 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 <epeterson@interactivebrokers.com> 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/FLNOENK2525RMHGL7SV2SBUXKSOJHSEZ/
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/EY2SRYRV5NDKOSISK4JEX34YOOLUQ5ED/