[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
More information about the Python-ideas mailing list
Wed Jun 24 15:19:46 CEST 2015
- Previous message (by thread): [Python-ideas] natively logging sys.path modifications
- Next message (by thread): [Python-ideas] web API to get a list of all module in stdlib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, 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: http://comments.gmane.org/gmane.comp.python.devel.core-workflow/130 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: https://stackoverflow.com/questions/6463918/how-can-i-get-a-list-of-all-the-python-standard-library-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: https://docs.python.org/2.7.2/dataset/modules.json -- anatoly t. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150624/125c252c/attachment.html>
- Previous message (by thread): [Python-ideas] natively logging sys.path modifications
- Next message (by thread): [Python-ideas] web API to get a list of all module in stdlib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list