[Distutils] md5 checksums through PyPI XML-RPC interface
Robin Bryce
robinbryce at gmail.com
Sat Jul 15 16:22:50 CEST 2006
After quick look I couln't find more than:
http://mail.python.org/pipermail/catalog-sig/2005-June/000656.html
on PyPI XML-RPC support. That mail does not mention md5.
From: '[Distutils] "Package Index API" draft'
http://mail.python.org/pipermail/distutils-sig/2006-July/006496.html
> In addition, for compatibility with PyPI versions that do not use ``#md5=``
> fragment IDs, EasyInstall uses the following regular expression to match
> PyPI's displayed MD5 info (broken onto two lines for readability)::
>
> <ahref="([^"#]+)">([^<]+)</a>\n\s+\(<ahref="[^?]+\?:action=show_md5
> &digest=([0-9a-f]{32})">md5</a>\)
I *think* this suggest that for a full implementation you have no
choice other than rummaging around in the html.
Robin
On 06/07/06, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
> Hi,
>
> I'm building a tool that interfaces with PyPI and noticed that while
> it is possible to fetch a lot of information through XML-RPC, the MD5
> checksum of files isn't amongst that.
>
> Ronald
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
>
>
>
More information about the Distutils-SIG
mailing list