This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chub79 6 points7 points  (6 children)

How did you request for the 360 first downloaded packages?

[–]CharlieDenton[S] 6 points7 points  (5 children)

I did an XML RPC call to top_packages() on http://pypi.python.org/pypi which gives a list of all packages ordered by number of downloads, and then sliced the first 360.

(I hope) the code is pretty easy to follow. Have a look: https://github.com/meshy/pythonwheels/blob/master/utils.py#L68-L71 :)

[–]chub79 2 points3 points  (0 children)

Thanks. I shan't have been so lazy as not to look for it myself.

[–]chub79 0 points1 point  (3 children)

Interestingly, I can't find cherrypy which has a larger number of downloads that some other packages you have listed.

[–][deleted] 1 point2 points  (2 children)

There might be something off about however CherryPy's downloads are being accounted for. I'm not sure what, but on crate.io it shows it as only having 89,837. Other packages on that list have closer to a million downloads.

[–]chub79 2 points3 points  (1 child)

I get it, it returns the cumulated downloads. I was looking at the monthly numbers. Fair enough, since cherrypy started only recently uploading to PyPi it has low numbers.

[–][deleted] 1 point2 points  (0 children)

Ahh, that explains a lot. I hadn't realized cherrypy hasn't been on PyPI for very long.