[Python-ideas] "Submit your hash" - stats for stdlib

anatoly techtonik techtonik at gmail.com
Thu Mar 8 09:04:38 CET 2012

While writing the answer for the stackoverflow question about
cross-language standard libraries, I realized that there is not enough
statistics about module/function usage in Python. If there could be an
utility that just walks through your project and gathers stats about
calls from stdlib, then this utility can as well submit those stats to
some stats.python.org endpoint for summarizing.

The stats about stdlib module usage/function calls can be combined
into reversible hashes for easy posting through at URL form at the
site. Hashes are also useful to see if some big subtree is actually
popular library, such as Django, to avoid duplicating the stats. If
every installed package is run through such tool, then it might be
even possible to detect the versions of libraries used regardless of
metadata location (although MD5 seems a better solution in this case).

1. http://stackoverflow.com/questions/7654826/cross-language-standard-libraries
anatoly t.

More information about the Python-ideas mailing list