Python Standard Library

Some Relevant Portions of the Python Standard Library

Take a look at PEP 594 which recommends removing some standard libraries from Python due to fundamental issues or maintenance burden.

  • array
  • bisect – manipulate sorted lists
  • collections – additional data types
  • configparser
  • csv
  • datetime
  • difflib
  • doctest – for running tests embedded in docstrings
  • email
  • heapq
  • html
  • itertools – efficient iterators
  • json
  • logging
  • math – tools for random, statistics, floating point math
  • os
    • os.path
  • pathlib
  • pdb – Python Debugger
  • pickle – object serialization
  • pprint – for pretty printing
  • pydoc – documentation generation
  • pytest
  • random – generate pseudo-random numbers
  • re – for regular expressions
  • sched – event scheduler
  • sqlite3
  • statistics
  • string
  • sys
  • sysconfig
  • typing – Allows type hinting
  • unittest – Framework for unit testing.
  • urllib
  • venv – Virtual Environments