Skip to main content

A list of Python Standard Libraries (2.6-7, 3.2-4).

Project description

This package includes lists of all of the standard libraries for Python 2.6, 2.7, 3.2, 3.3, and 3.4, along with the code for scraping the official Python docs to get said lists.

Listing the modules in the standard library? Wait, why on Earth would you care about that?!

Because knowing whether or not a module is part of the standard library will come in handy in a project of mine. And I’m not the only one who would find this useful. Or, the TL;DR answer is that it’s handy in situations when you’re analyzing Python code and would like to find module dependencies.

After googling for a way to generate a list of Python standard libraries (and looking through the answers to the previously-linked Stack Overflow question), I decided that I didn’t like the existing solutions. So, I used Beautiful Soup 4 to build a scraper and scraped the list of libraries (along with a bit of metadata) from the Python Module Index.

Usage

>>> from stdlib_list import stdlib_list
>>> libraries = stdlib_list("2.7")
>>> libraries[:10]
['AL', 'BaseHTTPServer', 'Bastion', 'CGIHTTPServer', 'ColorPicker', 'ConfigParser', 'Cookie', 'DEVICE', 'DocXMLRPCServer', 'EasyDialogs']

For more details, check out the docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stdlib-list-0.1.1.tar.gz (17.0 kB view details)

Uploaded Source

File details

Details for the file stdlib-list-0.1.1.tar.gz.

File metadata

  • Download URL: stdlib-list-0.1.1.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stdlib-list-0.1.1.tar.gz
Algorithm Hash digest
SHA256 27079d0ba52b82b3ea3e5cccbbd3f96cf3f22007a7fbd0c59d26b3e4aea9a09b
MD5 23d142763d1b6d57a26733c26bd6720c
BLAKE2b-256 f9f967b94c6fc7c1fc302edbef8b3bf3b7f9dbaf901e2c3d2d955257d26d559c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page