[Python-ideas] web API to get a list of all module in stdlib

anatoly techtonik techtonik at gmail.com
Wed Jun 24 15:19:46 CEST 2015


People from core-workflow are not too active about the idea,
so I finally found a time to repost it here. The original is here:


The idea is that docs.python.org site should export the list
of Python modules shipped in stdlib for particular Python
version in a machine readable format.

There are recipes like these to get the list of modules:


But they give only the modules enabled for specific
interpreter/platform. Not the list of modules that is included in
de-facto standard for this stdlib version.

This is need for processing information, for all Python
versions, so instead parsing HTML tables, it would be
more useful to directly fetch csv or json. That way anybody
can quickly validate the processing algorithm without
wasting time on extracting and normalizing the data.

I see the data as the necessary step to organize a work
around "externally evolving standard library", so a way
to query it should be somewhat sustainable and obvious.

Docs looks like an obvious way yo do so, like:


anatoly t.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150624/125c252c/attachment.html>

More information about the Python-ideas mailing list