A
- asyncio: provides infrastructure for writing single-threaded concurrent code using coroutines
- argparse: makes it easy to write user-friendly command-line interfaces
- ast: provides a way of examining and modifying the abstract syntax trees of Python code
- array: provides a way of creating arrays of numeric data
- audioop: provides operations on sound fragments
B
- base64: provides functions to encode and decode data using base64 encoding
- binascii: provides a number of functions to convert between binary and various ASCII-encoded binary representations
- builtins: provides a module which contains built-in functions, exceptions and other objects
- bz2: provides functionality for reading and writing bzip2-compressed files
C
- calendar: provides functions for working with dates, months, and years
- cgi: provides a way to generate HTML and process data submitted through HTML forms
- cgitb: provides a more detailed traceback for unhandled exceptions in web applications
- chunk: provides a way of reading data from a file in fixed-size chunks
- cmath: provides mathematical functions for complex numbers
- cmd: provides a framework for building line-oriented command interpreters
D
- datetime: provides classes for working with dates and times
- difflib: provides classes and functions for comparing sequences of lines of text
- dis: provides a way of disassembling and examining Python bytecode
- doctest: provides a way of testing Python code by embedding test cases in docstrings
- dummy_threading: provides a drop-in replacement for the threading module for use in single-threaded environments
E
- email: provides a way of composing, sending, and receiving email messages
- encodings: provides support for various text encodings
- enum: provides a way of creating enumerated types in Python
- errno: provides system error codes
- exceptions: provides the base classes for Python's built-in exceptions
F
- faulthandler: provides a way of dumping Python tracebacks on crashes
- fcntl: provides a way of working with file descriptors and locks
- filecmp: provides functions for comparing files and directories
- fileinput: provides a way of iterating over lines from multiple input streams
- fnmatch: provides functions for matching filenames against patterns
G
- gc: provides a way of accessing the garbage collector from Python code
- getopt: provides a way of parsing command-line options
- getpass: provides a way of reading passwords without displaying them on the screen
- glob: provides a way of finding files that match a certain pattern
- gzip: provides functionality for reading and writing gzip-compressed files
H
- hashlib: provides secure hash functions
- heapq: provides functions for implementing heaps and priority queues
- hmac: provides functions for message authentication using cryptographic hash functions
- html: provides a way of generating HTML documents programmatically
- http: provides classes and functions for working with the HTTP protocol
I
- imaplib: provides a way of accessing IMAP email servers
- imghdr: provides functions for determining the type of image files
- imp: provides a way of importing modules from files
- importlib: provides a way of importing modules from various sources
- inspect: provides functions for inspecting live objects
J
- json: provides functions for working with JSON data
- jwt: provides functionality for working with JSON Web Tokens
L
- linecache: provides functions for caching lines of text from files
- locale: provides functions for working with the system's locale settings
- logging: provides a flexible way of logging messages from Python code
- lzma: provides functionality for reading and writing lzma-compressed files
M
- mailbox: provides classes for working with various mailbox formats
- mailcap: provides a way of working with the mailcap configuration file
- math: provides mathematical functions
- mmap: provides a way of memory-mapping files
- multiprocessing: provides support for writing concurrent code using multiple processes
N
- netrc: provides a way of working with the .netrc file
- nis: provides a way of working with the Network Information Service (NIS)
- nntplib: provides a way of accessing NNTP (Usenet) servers
- numbers: provides base classes for numeric types in Python
O
- operator: provides functions corresponding to Python's built-in operators
- optparse: provides a more powerful way of parsing command-line options than getopt
- os: provides a way of working with the operating system
- ossaudiodev: provides a way of working with OSS (Open Sound System) audio devices
P
- parser: provides classes for working with Python's internal parser
- pathlib: provides a way of working with paths and filesystems
- pdb: provides a Python debugger
- pickle: provides a way of serializing and deserializing Python objects
- pipes: provides a way of working with shell pipelines
Q
- queue: provides a way of implementing queues and other data structures for inter-thread communication
- quopri: provides functions for encoding and decoding data using the Quoted-Printable encoding
R
- random: provides functions for generating random numbers and selecting random elements from lists
- re: provides support for regular expressions
- readline: provides a way of editing command-line input
- reprlib: provides a way of generating abbreviated representations of large or recursive data structures
- resource: provides access to various system resource limits and statistics
S
- sched: provides a way of scheduling functions to run at specified times
- select: provides a way of waiting for I/O to become available on multiple file descriptors
- shelve: provides a way of storing Python objects persistently
- shlex: provides a way of parsing shell-style syntax
- shutil: provides functions for working with files and directories
- socket: a module for low-level networking programming.
- sqlite3: a module for working with SQLite databases.
T
- tarfile: provides functionality for working with tar archives
- telnetlib: provides a way of working with Telnet connections
- tempfile: provides functions for creating temporary files and directories
- termios: provides a way of working with terminal I/O
- test: provides a framework for testing Python code
U
- unicodedata: provides functions for working with Unicode characters
- unittest: provides a framework for unit testing Python code
- urllib: provides classes and functions for working with URLs and HTTP
- uu: provides functions for encoding and decoding data using the uuencode format
V
- venv: provides functionality for creating and managing Python virtual environments
- version: provides information about the current version of Python
- video: provides functionality for working with video files and streams
- warnings: provides a way of issuing warnings from Python code
- wave: provides functionality for reading and writing WAV audio files
W
- weakref: provides a way of creating weak references to Python objects
- webbrowser: provides a way of opening web pages in a browser from Python code
- winreg: provides a way of working with the Windows registry
- winsound: provides a way of playing sounds on Windows systems
X
- xdrlib: provides functionality for working with XDR (eXternal Data Representation) data
- xml: provides functionality for working with XML data
- xmlrpc: provides a way of implementing and consuming XML-RPC web services
- zipfile: provides functionality for working with ZIP archives
Z
- zlib: provides functionality