Top Python standard-library modules

Top Python standard-library modules#

This site demonstrates the five most-imported standard-library modules found by crawling the source of the most-downloaded packages on PyPI and counting their import statements.

Each page is a runnable Jupyter notebook that explains the module and shows its most common functions in action. The pages are executed fresh every time the site is built, so the outputs you see are real.

Rank

Module

Share of packages importing it

1

typing

67.7%

2

sys

65.7%

3

os

62.8%

4

collections

62.0%

5

re

60.6%

Use the sidebar (or the arrows at the bottom of each page) to move between modules.