How to waste time...

Comparative Popularity of Python modules

The following plot was generated by searching for the regular expression "(import|from)\s<module name>\b" for all of the modules in the python global module index. Only the top 150 modules are shown. Bear in mind that open code projects may well not be representative of all code.

The plot was generated using this script from data screen-scraped using this script, which uses lxml and XPath. The results file had some minor tweaking done to it before the graph was generated - commas in numbers removed etc. I suspect that searching google code several hundred times in a minute might be mildly evil... but don't tell anyone.

Bar chart of importance of built in python modules as measured by google code search Creative Commons License
.