This package includes lists of all of the standard libraries for Python 2.6 through 3.13.
IMPORTANT: If you're on Python 3.10 or newer, you probably don't need this library.
See sys.stdlib_module_names
and sys.builtin_module_names
for similar functionality.
stdlib-list
is available on PyPI:
python -m pip install stdlib-list
>>> 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.
This library was created by @jackmaney, and was maintained with the help of @ocefpaf and @ericdill until version 0.8.0, after which the primary maintainer archived the project.
With the primary maintainer's approval, the project was transferred
from jackmaney/python-stdlib-list
to pypi/stdlib-list
, and was adopted
by new maintainers.
The README immediately prior to the maintainership transfer is
preserved at READMD.md.old
.