[Catalog-sig] A PyPi question
ziade.tarek at gmail.com
Tue Mar 30 17:17:07 CEST 2010
On Tue, Mar 30, 2010 at 4:22 PM, Simon de Vlieger <simon at ikanobori.jp> wrote:
> Dear all,
> I first adressed this question to the distutils-sig mailing list and was
> kindly told to post this question to this mailinglist so here it goes.
> The XMLRPC API documentation for PyPi at
> http://wiki.python.org/moin/PyPiXmlRpc contains a 'downloads' key in the
> example. However in the documentation below it is missing and my own tries
> at the API confirm this.
> Now I would very much like to have access to the data (especially the
> download count). Is there any possibility of these values returning?
As far as I can see, the download count is not exposed (anymore ?) in
the release_data XMLRPC method, but it shouldn't be hard to add it
back since it's directly accessible in the storage
(built through a cron that reads the apache stats)
It just requires one extra call to `store.list_files(package_name, version)`
Let's see what Martin says.. :)
Tarek Ziadé | http://ziade.org
More information about the Catalog-SIG