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
 
_
__builtin__ The module that provides the built-in namespace.
__future__ Future statement definitions
__main__ The environment where the top-level script is run.
_winreg (Windows) Routines and objects for manipulating the Windows registry.
 
a
abc Abstract base classes according to PEP 3119.
aepack (Mac)Deprecated: Conversion between Python variables and AppleEvent data containers.
aetools (Mac)Deprecated: Basic support for sending Apple Events
aetypes (Mac)Deprecated: Python representation of the Apple Event Object Model.
aifc Read and write audio files in AIFF or AIFC format.
al (IRIX)Deprecated: Audio functions on the SGI.
AL (IRIX)Deprecated: Constants used with the al module.
anydbm Generic interface to DBM-style database modules.
applesingle (Mac)Deprecated: Rudimentary decoder for AppleSingle format files.
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.
autoGIL (Mac)Deprecated: Global Interpreter Lock handling in event loops.
 
b
base64 RFC 3548: Base16, Base32, Base64 Data Encodings
BaseHTTPServer Basic HTTP server (base class for SimpleHTTPServer and CGIHTTPServer).
BastionDeprecated: Providing restricted access to objects.
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.
bsddb Interface to Berkeley DB database library
buildtools (Mac)Deprecated: Helper module for BuildApplet, BuildApplication and macfreeze.
bz2 Interface to compression and decompression routines compatible with bzip2.
 
c
calendar Functions for working with calendars, including some emulation of the Unix cal program.
Carbon
    Carbon.AE (Mac)Deprecated: Interface to the Apple Events toolbox.
    Carbon.AH (Mac)Deprecated: Interface to the Apple Help manager.
    Carbon.App (Mac)Deprecated: Interface to the Appearance Manager.
    Carbon.Appearance (Mac)Deprecated: Constant definitions for the interface to the Appearance Manager.
    Carbon.CarbonEvents (Mac)Deprecated: Constants for the interface to the Carbon Event Manager.
    Carbon.CarbonEvt (Mac)Deprecated: Interface to the Carbon Event Manager.
    Carbon.CF (Mac)Deprecated: Interface to the Core Foundation.
    Carbon.CG (Mac)Deprecated: Interface to Core Graphics.
    Carbon.Cm (Mac)Deprecated: Interface to the Component Manager.
    Carbon.Components (Mac)Deprecated: Constants for the interface to the Component Manager.
    Carbon.ControlAccessor (Mac)Deprecated: Accessor functions for the interface to the Control Manager.
    Carbon.Controls (Mac)Deprecated: Constants for the interface to the Control Manager.
    Carbon.CoreFounation (Mac)Deprecated: Constants for the interface to CoreFoundation.
    Carbon.CoreGraphics (Mac)Deprecated: Constants for the interface to CoreGraphics.
    Carbon.Ctl (Mac)Deprecated: Interface to the Control Manager.
    Carbon.Dialogs (Mac)Deprecated: Constants for the interface to the Dialog Manager.
    Carbon.Dlg (Mac)Deprecated: Interface to the Dialog Manager.
    Carbon.Drag (Mac)Deprecated: Interface to the Drag and Drop Manager.
    Carbon.Dragconst (Mac)Deprecated: Constants for the interface to the Drag and Drop Manager.
    Carbon.Events (Mac)Deprecated: Constants for the interface to the classic Event Manager.
    Carbon.Evt (Mac)Deprecated: Interface to the classic Event Manager.
    Carbon.File (Mac)Deprecated: Interface to the File Manager.
    Carbon.Files (Mac)Deprecated: Constants for the interface to the File Manager.
    Carbon.Fm (Mac)Deprecated: Interface to the Font Manager.
    Carbon.Folder (Mac)Deprecated: Interface to the Folder Manager.
    Carbon.Folders (Mac)Deprecated: Constants for the interface to the Folder Manager.
    Carbon.Fonts (Mac)Deprecated: Constants for the interface to the Font Manager.
    Carbon.Help (Mac)Deprecated: Interface to the Carbon Help Manager.
    Carbon.IBCarbon (Mac)Deprecated: Interface to the Carbon InterfaceBuilder support libraries.
    Carbon.IBCarbonRuntime (Mac)Deprecated: Constants for the interface to the Carbon InterfaceBuilder support libraries.
    Carbon.Icns (Mac)Deprecated: Interface to the Carbon Icon Manager
    Carbon.Icons (Mac)Deprecated: Constants for the interface to the Carbon Icon Manager
    Carbon.Launch (Mac)Deprecated: Interface to the Carbon Launch Services.
    Carbon.LaunchServices (Mac)Deprecated: Constants for the interface to the Carbon Launch Services.
    Carbon.List (Mac)Deprecated: Interface to the List Manager.
    Carbon.Lists (Mac)Deprecated: Constants for the interface to the List Manager.
    Carbon.MacHelp (Mac)Deprecated: Constants for the interface to the Carbon Help Manager.
    Carbon.MediaDescr (Mac)Deprecated: Parsers and generators for Quicktime Media descriptors
    Carbon.Menu (Mac)Deprecated: Interface to the Menu Manager.
    Carbon.Menus (Mac)Deprecated: Constants for the interface to the Menu Manager.
    Carbon.Mlte (Mac)Deprecated: Interface to the MultiLingual Text Editor.
    Carbon.OSA (Mac)Deprecated: Interface to the Carbon OSA Library.
    Carbon.OSAconst (Mac)Deprecated: Constants for the interface to the Carbon OSA Library.
    Carbon.Qd (Mac)Deprecated: Interface to the QuickDraw toolbox.
    Carbon.Qdoffs (Mac)Deprecated: Interface to the QuickDraw Offscreen APIs.
    Carbon.QDOffscreen (Mac)Deprecated: Constants for the interface to the QuickDraw Offscreen APIs.
    Carbon.Qt (Mac)Deprecated: Interface to the QuickTime toolbox.
    Carbon.QuickDraw (Mac)Deprecated: Constants for the interface to the QuickDraw toolbox.
    Carbon.QuickTime (Mac)Deprecated: Constants for the interface to the QuickTime toolbox.
    Carbon.Res (Mac)Deprecated: Interface to the Resource Manager and Handles.
    Carbon.Resources (Mac)Deprecated: Constants for the interface to the Resource Manager and Handles.
    Carbon.Scrap (Mac)Deprecated: The Scrap Manager provides basic services for implementing cut & paste and clipboard operations.
    Carbon.Snd (Mac)Deprecated: Interface to the Sound Manager.
    Carbon.Sound (Mac)Deprecated: Constants for the interface to the Sound Manager.
    Carbon.TE (Mac)Deprecated: Interface to TextEdit.
    Carbon.TextEdit (Mac)Deprecated: Constants for the interface to TextEdit.
    Carbon.Win (Mac)Deprecated: Interface to the Window Manager.
    Carbon.Windows (Mac)Deprecated: Constants for the interface to the Window Manager.
cd (IRIX)Deprecated: Interface to the CD-ROM on Silicon Graphics systems.
cfmfile (Mac)Deprecated: Code Fragment Resource module.
cgi Helpers for running Python scripts via the Common Gateway Interface.
CGIHTTPServer This module provides a request handler for HTTP servers which can run CGI scripts.
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 High-performance datatypes
ColorPicker (Mac)Deprecated: Interface to the standard color selection dialog.
colorsys Conversion functions between RGB and other color systems.
commands (Unix)Deprecated: Utility functions for running external commands.
compileall Tools for byte-compiling all Python source files in a directory tree.
compilerDeprecated: Python code compiler written in Python.
    compiler.ast
    compiler.visitor
ConfigParser Configuration file parser.
contextlib Utilities for with-statement contexts.
Cookie Support for HTTP state management (cookies).
cookielib Classes for automatic handling of HTTP cookies.
copy Shallow and deep copy operations.
copy_reg Register pickle support functions.
cPickle Faster version of pickle, but not subclassable.
cProfile
crypt (Unix) The crypt() function used to check Unix passwords.
cStringIO Faster version of StringIO, but not subclassable.
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.
dbhash DBM-style interface to the BSD database library.
dbm (Unix) The standard "database" interface, based on ndbm.
decimal Implementation of the General Decimal Arithmetic Specification.
DEVICE (IRIX)Deprecated: Constants used with the gl module.
difflib Helpers for computing differences between objects.
dircacheDeprecated: Return directory listing, with cache mechanism.
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.
dl (Unix)Deprecated: Call C functions in shared objects.
doctest Test pieces of code within docstrings.
DocXMLRPCServer Self-documenting XML-RPC server implementation.
dumbdbm Portable implementation of the simple DBM interface.
dummy_thread Drop-in replacement for the thread module.
dummy_threading Drop-in replacement for the threading module.
 
e
EasyDialogs (Mac)Deprecated: Basic Macintosh dialogs.
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.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.utils Miscellaneous email package utilities.
encodings
    encodings.idna Internationalized Domain Names implementation
    encodings.utf_8_sig UTF-8 codec with BOM signature
ensurepip Bootstrapping the ``pip`` installer into an existing Python installation or virtual environment.
errno Standard errno system symbols.
exceptions Standard exception classes.
 
f
fcntl (Unix) The fcntl() and ioctl() system calls.
filecmp Compare files efficiently.
fileinput Loop over standard input or a list of files.
findertools (Mac) Wrappers around the finder's Apple Events interface.
fl (IRIX)Deprecated: FORMS library for applications with graphical user interfaces.
FL (IRIX)Deprecated: Constants used with the fl module.
flp (IRIX)Deprecated: Functions for loading stored FORMS designs.
fm (IRIX)Deprecated: Font Manager interface for SGI workstations.
fnmatch Unix shell style filename pattern matching.
formatter Generic output formatter and device interface.
fpectl (Unix) Provide control for floating point exception handling.
fpformatDeprecated: General floating point formatting functions.
fractions Rational numbers.
FrameWork (Mac)Deprecated: Interactive application framework.
ftplib FTP protocol client (requires sockets).
functools Higher-order functions and operations on callable objects.
future_builtins
 
g
gc Interface to the cycle-detecting garbage collector.
gdbm (Unix) GNU's reinterpretation of dbm.
gensuitemodule (Mac) Create a stub package from an OSA dictionary
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.
gl (IRIX)Deprecated: Functions from the Silicon Graphics Graphics Library.
GL (IRIX)Deprecated: Constants used with the gl module.
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