Python Module Index:

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 statement definitions

The environment where the top-level script is run.

Low-level threading API.

a

Abstract base classes according to :pep:`3119`.

Read and write audio files in AIFF or AIFC format.

Command-line option and argument parsing library.

Space efficient arrays of uniformly typed numeric values.

Abstract Syntax Tree classes and manipulation.

Support for asynchronous command/response protocols.

Asynchronous I/O.

A base class for developing asynchronous socket handling services.

Register and execute cleanup functions.

Manipulate raw audio data.

b

RFC 3548: Base16, Base32, Base64 Data Encodings; Base85 and Ascii85

Debugger framework.

Tools for converting between binary and various ASCII-encoded binary representations.

Encode and decode files in binhex4 format.

Array bisection algorithms for binary searching.

The module that provides the built-in namespace.

Interfaces for bzip2 compression and decompression.

c

Functions for working with calendars, including some emulation of the Unix cal program.

Helpers for running Python scripts via the Common Gateway Interface.

Configurable traceback handler for CGI scripts.

Module to read IFF chunks.

Mathematical functions for complex numbers.

Build line-oriented command interpreters.

Facilities to implement read-eval-print loops.

Encode and decode data and streams.

Compile (possibly incomplete) Python code.

Container datatypes

Conversion functions between RGB and other color systems.

Tools for byte-compiling all Python source files in a directory tree.

concurrent

Configuration file parser.

Utilities for with-statement contexts.

Context Variables

Shallow and deep copy operations.

Register pickle support functions.

crypt (Unix)

The crypt() function used to check Unix passwords.

Write and read tabular data to and from delimited files.

A foreign function library for Python.

curses (Unix)

An interface to the curses library, providing portable terminal handling.

d

Generate special methods on user-defined classes.

Basic date and time types.

Interfaces to various Unix "database" formats.

Implementation of the General Decimal Arithmetic Specification.

Helpers for computing differences between objects.

Disassembler for Python bytecode.

Support for building and installing Python modules into an existing Python installation.

Test pieces of code within docstrings.

e

Package supporting the parsing, manipulating, and generating email messages.

encodings

Bootstrapping the "pip" installer into an existing Python installation or virtual environment.

Implementation of an enumeration class.

Standard errno system symbols.

f

Dump the Python traceback.

fcntl (Unix)

The fcntl() and ioctl() system calls.

Compare files efficiently.

Loop over standard input or a list of files.

Unix shell style filename pattern matching.

Deprecated: Generic output formatter and device interface.

Rational numbers.

FTP protocol client (requires sockets).

Higher-order functions and operations on callable objects.

g

Interface to the cycle-detecting garbage collector.

Portable parser for command line options; support both short and long option names.

Portable reading of passwords and retrieval of the userid.

Multilingual internationalization services.

Unix shell style pathname pattern expansion.

Functionality to operate with graph-like structures

grp (Unix)

The group database (getgrnam() and friends).

Interfaces for gzip compression and decompression using file objects.

h

Secure hash and message digest algorithms.

Heap queue algorithm (a.k.a. priority queue).

Keyed-Hashing for Message Authentication (HMAC) implementation

Helpers for manipulating HTML.

HTTP status codes and messages

i

IMAP4 protocol client (requires sockets).

Determine the type of image contained in a file or byte stream.

Deprecated: Access the implementation of the import statement.

The implementation of the import machinery.

Extract information and source code from live objects.

Core tools for working with streams.

IPv4/IPv6 manipulation library.

Functions creating iterators for efficient looping.

j

Encode and decode the JSON format.

k

Test whether a string is a keyword in Python.

l

The 2to3 library

Provides random access to individual lines from text files.

Internationalization services.

Flexible event logging system for applications.

A Python wrapper for the liblzma compression library.

m

Manipulate mailboxes in various formats

Mailcap file handling.

Convert Python objects to streams of bytes and back (with different constraints).

Mathematical functions (sin() etc.).

Mapping of filename extensions to MIME types.

Interface to memory-mapped files for Unix and Windows.

Find modules used by a script.

msilib (Windows)

Creation of Microsoft Installer files, and CAB files.

msvcrt (Windows)

Miscellaneous useful routines from the MS VC++ runtime.

Process-based parallelism.

n

Loading of .netrc files.

nis (Unix)

Interface to Sun's NIS (Yellow Pages) library.

NNTP protocol client (requires sockets).

Numeric abstract base classes (Complex, Real, Integral, etc.).

o

Functions corresponding to the standard operators.

Deprecated: Command-line option parsing library.

Miscellaneous operating system interfaces.

ossaudiodev (Linux, FreeBSD)

Access to OSS-compatible audio devices.

p

Access parse trees for Python source code.

Object-oriented filesystem paths

The Python debugger for interactive interpreters.

Convert Python objects to streams of bytes and back.

Contains extensive comments about the pickle protocols and pickle-machine opcodes, as well as some useful functions.

pipes (Unix)

A Python interface to Unix shell pipelines.

Utilities for the import system.

Retrieves as much platform identifying data as possible.

Generate and parse Apple plist files.

POP3 protocol client (requires sockets).

posix (Unix)

The most common POSIX system calls (normally used via module os).

Data pretty printer.

Python source profiler.

Statistics object for use with the profiler.

pty (Linux)

Pseudo-Terminal Handling for Linux.

pwd (Unix)

The password database (getpwnam() and friends).

Generate byte-code files from Python source files.

Supports information extraction for a Python module browser.

Documentation generator and online help system.

q

A synchronized queue class.

Encode and decode files using the MIME quoted-printable encoding.

r

Generate pseudo-random numbers with various common distributions.

Regular expression operations.

readline (Unix)

GNU readline support for Python.

Alternate repr() implementation with size limits.

resource (Unix)

An interface to provide resource usage information on the current process.

Python identifier completion, suitable for the GNU readline library.

Locate and run Python modules without importing them first.

s

General purpose event scheduler.

Generate secure random numbers for managing secrets.

Wait for I/O completion on multiple streams.

High-level I/O multiplexing.

Python object persistence.

Simple lexical analysis for Unix shell-like languages.

High-level file operations, including copying.

Set handlers for asynchronous events.

Module responsible for site-specific configuration.

A SMTP server implementation in Python.

SMTP protocol client (requires sockets).

Determine type of a sound file.

Low-level networking interface.

A framework for network servers.

spwd (Unix)

The shadow password database (getspnam() and friends).

A DB-API 2.0 implementation using SQLite 3.x.

TLS/SSL wrapper for socket objects

Utilities for interpreting the results of os.stat(), os.lstat() and os.fstat().

Mathematical statistics functions

Common string operations.

String preparation, as per RFC 3453

Interpret bytes as packed binary data.

Subprocess management.

Provide an interface to the Sun AU sound format.

Constants representing internal nodes of the parse tree.

Interface to the compiler's internal symbol tables.

Access system-specific parameters and functions.

Python's configuration information

syslog (Unix)

An interface to the Unix syslog library routines.

t

Tool for detecting white space related problems in Python source files in a directory tree.

Read and write tar-format archive files.

Telnet client class.

Generate temporary files and directories.

termios (Unix)

POSIX style tty control.

Regression tests package containing the testing suite for Python.

Text wrapping and filling

Thread-based parallelism.

Time access and conversions.

Measure the execution time of small code snippets.

Interface to Tcl/Tk for graphical user interfaces

Constants representing terminal nodes of the parse tree.

Lexical scanner for Python source code.

Trace or track Python statement execution.

Print or retrieve a stack traceback.

Trace memory allocations.

tty (Unix)

Utility functions that perform common terminal control operations.

An educational framework for simple graphics applications

A viewer for example turtle scripts

Names for built-in types.

Support for type hints (see :pep:`484`).

u

Access the Unicode Database.

Unit testing framework for Python.

Encode and decode files in uuencode format.

UUID objects (universally unique identifiers) according to RFC 4122

v

Creation of virtual environments.

w

Issue warning messages and control their disposition.

Provide an interface to the WAV sound format.

Support for weak references and weak dictionaries.

Easy-to-use controller for Web browsers.

winreg (Windows)

Routines and objects for manipulating the Windows registry.

winsound (Windows)

Access to the sound-playing machinery for Windows.

WSGI Utilities and Reference Implementation.

x

Encoders and decoders for the External Data Representation (XDR).

Package containing XML processing modules

xmlrpc

z

Manage executable Python zip archives

Read and write ZIP-format archive files.

Support for importing Python modules from ZIP archives.

Low-level interface to compression and decompression routines compatible with gzip.

IANA time zone support

Last updated