Python Module Index

_ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z
 
_
__future__ Future statement definitions
__main__ The environment where the top-level script is run.
_dummy_thread Drop-in replacement for the _thread module.
_thread Low-level threading API.
 
a
abc Abstract base classes according to PEP 3119.
aifc Read and write audio files in AIFF or AIFC format.
argparse Command-line option and argument parsing library.
array Space efficient arrays of uniformly typed numeric values.
ast Abstract Syntax Tree classes and manipulation.
asynchat Support for asynchronous command/response protocols.
asyncore A base class for developing asynchronous socket handling services.
atexit Register and execute cleanup functions.
audioop Manipulate raw audio data.
 
b
base64 RFC 3548: Base16, Base32, Base64 Data Encodings
bdb Debugger framework.
binascii Tools for converting between binary and various ASCII-encoded binary representations.
binhex Encode and decode files in binhex4 format.
bisect Array bisection algorithms for binary searching.
builtins The module that provides the built-in namespace.
bz2 Interfaces for bzip2 compression and decompression.
 
c
calendar Functions for working with calendars, including some emulation of the Unix cal program.
cgi Helpers for running Python scripts via the Common Gateway Interface.
cgitb Configurable traceback handler for CGI scripts.
chunk Module to read IFF chunks.
cmath Mathematical functions for complex numbers.
cmd Build line-oriented command interpreters.
code Facilities to implement read-eval-print loops.
codecs Encode and decode data and streams.
codeop Compile (possibly incomplete) Python code.
collections Container datatypes
    collections.abc Abstract base classes for containers
colorsys Conversion functions between RGB and other color systems.
compileall Tools for byte-compiling all Python source files in a directory tree.
concurrent
    concurrent.futures Execute computations concurrently using threads or processes.
configparser Configuration file parser.
contextlib Utilities for with-statement contexts.
copy Shallow and deep copy operations.
copyreg Register pickle support functions.
cProfile
crypt (Unix) The crypt() function used to check Unix passwords.
csv Write and read tabular data to and from delimited files.
ctypes A foreign function library for Python.
curses (Unix) An interface to the curses library, providing portable terminal handling.
    curses.ascii Constants and set-membership functions for ASCII characters.
    curses.panel A panel stack extension that adds depth to curses windows.
    curses.textpad Emacs-like input editing in a curses window.
 
d
datetime Basic date and time types.
dbm Interfaces to various Unix "database" formats.
    dbm.dumb Portable implementation of the simple DBM interface.
    dbm.gnu (Unix) GNU's reinterpretation of dbm.
    dbm.ndbm (Unix) The standard "database" interface, based on ndbm.
decimal Implementation of the General Decimal Arithmetic Specification.
difflib Helpers for computing differences between objects.
dis Disassembler for Python bytecode.
distutils Support for building and installing Python modules into an existing Python installation.
    distutils.archive_util Utility functions for creating archive files (tarballs, zip files, ...)
    distutils.bcppcompiler
    distutils.ccompiler Abstract CCompiler class
    distutils.cmd This module provides the abstract base class Command. This class is subclassed by the modules in the distutils.command subpackage.
    distutils.command This subpackage contains one module for each standard Distutils command.
    distutils.command.bdist Build a binary installer for a package
    distutils.command.bdist_dumb Build a "dumb" installer - a simple archive of files
    distutils.command.bdist_msi Build a binary distribution as a Windows MSI file
    distutils.command.bdist_packager Abstract base class for packagers
    distutils.command.bdist_rpm Build a binary distribution as a Redhat RPM and SRPM
    distutils.command.bdist_wininst Build a Windows installer
    distutils.command.build Build all files of a package
    distutils.command.build_clib Build any C libraries in a package
    distutils.command.build_ext Build any extensions in a package
    distutils.command.build_py Build the .py/.pyc files of a package
    distutils.command.build_scripts Build the scripts of a package
    distutils.command.check Check the metadata of a package
    distutils.command.clean Clean a package build area
    distutils.command.config Perform package configuration
    distutils.command.install Install a package
    distutils.command.install_data Install data files from a package
    distutils.command.install_headers Install C/C++ header files from a package
    distutils.command.install_lib Install library files from a package
    distutils.command.install_scripts Install script files from a package
    distutils.command.register Register a module with the Python Package Index
    distutils.command.sdist Build a source distribution
    distutils.core The core Distutils functionality
    distutils.cygwinccompiler
    distutils.debug Provides the debug flag for distutils
    distutils.dep_util Utility functions for simple dependency checking
    distutils.dir_util Utility functions for operating on directories and directory trees
    distutils.dist Provides the Distribution class, which represents the module distribution being built/installed/distributed
    distutils.emxccompiler OS/2 EMX Compiler support
    distutils.errors Provides standard distutils exceptions
    distutils.extension Provides the Extension class, used to describe C/C++ extension modules in setup scripts
    distutils.fancy_getopt Additional getopt functionality
    distutils.file_util Utility functions for operating on single files
    distutils.filelist The FileList class, used for poking about the file system and building lists of files.
    distutils.log A simple logging mechanism, 282-style
    distutils.msvccompiler Microsoft Compiler
    distutils.spawn Provides the spawn() function
    distutils.sysconfig Low-level access to configuration information of the Python interpreter.
    distutils.text_file provides the TextFile class, a simple interface to text files
    distutils.unixccompiler UNIX C Compiler
    distutils.util Miscellaneous other utility functions
    distutils.version implements classes that represent module version numbers.
doctest Test pieces of code within docstrings.
dummy_threading Drop-in replacement for the threading module.
 
e
email Package supporting the parsing, manipulating, and generating email messages, including MIME documents.
    email.charset Character Sets
    email.encoders Encoders for email message payloads.
    email.errors The exception classes used by the email package.
    email.generator Generate flat text email messages from a message structure.
    email.header Representing non-ASCII headers
    email.headerregistry Automatic Parsing of headers based on the field name
    email.iterators Iterate over a message object tree.
    email.message The base class representing email messages.
    email.mime Build MIME messages.
    email.parser Parse flat text email messages to produce a message object structure.
    email.policy Controlling the parsing and generating of messages
    email.utils Miscellaneous email package utilities.
encodings
    encodings.idna Internationalized Domain Names implementation
    encodings.mbcs Windows ANSI codepage
    encodings.utf_8_sig UTF-8 codec with BOM signature
errno Standard errno system symbols.
 
f
faulthandler Dump the Python traceback.
fcntl (Unix) The fcntl() and ioctl() system calls.
filecmp Compare files efficiently.
fileinput Loop over standard input or a list of files.
fnmatch Unix shell style filename pattern matching.
formatter Generic output formatter and device interface.
fpectl (Unix) Provide control for floating point exception handling.
fractions Rational numbers.
ftplib FTP protocol client (requires sockets).
functools Higher-order functions and operations on callable objects.
 
g
gc Interface to the cycle-detecting garbage collector.
getopt Portable parser for command line options; support both short and long option names.
getpass Portable reading of passwords and retrieval of the userid.
gettext Multilingual internationalization services.
glob Unix shell style pathname pattern expansion.
grp (Unix) The group database (getgrnam() and friends).
gzip Interfaces for gzip compression and decompression using file objects.
 
h
hashlib Secure hash and message digest algorithms.
heapq Heap queue algorithm (a.k.a. priority queue).
hmac Keyed-Hashing for Message Authentication (HMAC) implementation for Python.
html Helpers for manipulating HTML.
    html.entities Definitions of HTML general entities.
    html.parser A simple parser that can handle HTML and XHTML.
http
    http.client HTTP and HTTPS protocol client (requires sockets).
    http.cookiejar Classes for automatic handling of HTTP cookies.
    http.cookies Support for HTTP state management (cookies).
    http.server HTTP server and request handlers.
 
i
imaplib IMAP4 protocol client (requires sockets).
imghdr Determine the type of image contained in a file or byte stream.
imp Access the implementation of the import statement.
importlib The implementation of the import machinery.
    importlib.abc Abstract base classes related to import
    importlib.machinery Importers and path hooks
    importlib.util Utility code for importers
inspect Extract information and source code from live objects.
io Core tools for working with streams.
ipaddress IPv4/IPv6 manipulation library.
itertools Functions creating iterators for efficient looping.
 
j