[Catalog-sig] PyPI enhancement wish items?
Phillip J. Eby
pje at telecommunity.com
Fri Apr 21 01:53:16 CEST 2006
At 08:51 AM 4/21/2006 +1000, Richard Jones wrote:
>On Thursday 20 April 2006 19:35, Richard Jones wrote:
> > - incorporate Ian Bicking's XML-RPC API
> > http://mail.python.org/pipermail/catalog-sig/2005-May/000634.html
>
>*cough* of course, the TODO list I was looking at is out of date, as this is
>already done :)
>
> >>> import xmlrpclib
> >>> server = xmlrpclib.ServerProxy('http://cheeseshop.python.org/pypi')
> >>> server.package_releases('roundup')
>['1.1.1']
> >>> server.package_urls('roundup', '1.1.1')
>[{'url':
>'http://cheeseshop.python.org/packages/any/r/roundup/roundup-1.1.1.win32.exe',
>
>'packagetype': 'bdist_wininst'}, {'url':
>'http://cheeseshop.python.org/packages/source/r/roundup/roundup-1.1.1.tar.gz',
>
>'packagetype': 'sdist'}]
Sweet! It's fast, too, especially on search. I'll definitely upgrade
easy_install to start using this, although alas, not today.
More information about the Catalog-sig
mailing list