python_standard_library_module_index

Python Standard Library Module Index

_

  • __main__ - The environment where the top-level script is run.
  • _thread - Low-level threading API.

A

  • 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

  • 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.

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. contextvars]] - Context Variables 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

  • dataclasses - Generate special methods on user-defined classes.
  • 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.

   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 meta-data 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.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, [[PEP 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.

E

ensurepip]] - Bootstrapping the “pip” installer into an existing Python installation or virtual environment. enum]] - Implementation of an enumeration class. 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]] - Deprecated: Generic output formatter and device interface. 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. graphlib]] - Functionality to operate with graph-like structures 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

  • html - Helpers for manipulating HTML.
  • http - HTTP status codes and messages

I

imaplib]] - IMAP4 protocol client (requires sockets). imghdr]] - Determine the type of image contained in a file or byte stream. imp]] - Deprecated: Access the implementation of the import statement.

  • 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

  • json - Encode and decode the JSON format.
    • json.tool - A command line to validate and pretty-print JSON.

K

  • keyword - Test whether a string is a keyword in Python.

L

lib2to3]] - The 2to3 library linecache]] - Provides random access to individual lines from text files. locale]] - Internationalization services.

lzma]] - A Python wrapper for the liblzma compression library.

M

mailbox]] - Manipulate mailboxes in various formats mailcap]] - Mailcap file handling. marshal]] - Convert Python objects to streams of bytes and back (with different constraints). math]] - Mathematical functions (sin() etc.). mimetypes]] - Mapping of filename extensions to MIME types. mmap]] - Interface to memory-mapped files for Unix and Windows. modulefinder]] - 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.

N

netrc]] - Loading of .netrc files. nis (Unix)]] - Interface to Sun's NIS (Yellow Pages) library. nntplib]] - NNTP protocol client (requires sockets). numbers]] - Numeric abstract base classes (Complex, Real, Integral, etc.).

O

operator]] - Functions corresponding to the standard operators. optparse]] - Deprecated: Command-line option parsing library.

  • os - Miscellaneous operating system interfaces.
    • os.path - Operations on pathnames.

ossaudiodev (Linux, FreeBSD)]] - Access to OSS-compatible audio devices.

p

parser]] - Access parse trees for Python source code. pathlib]] - Object-oriented filesystem paths pdb]] - The Python debugger for interactive interpreters. pickle]] - Convert Python objects to streams of bytes and back. pickletools]] - 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. pkgutil]] - Utilities for the import system. platform]] - Retrieves as much platform identifying data as possible. plistlib]] - Generate and parse Apple plist files. poplib]] - POP3 protocol client (requires sockets). posix (Unix)]] - The most common POSIX system calls (normally used via module os). pprint]] - Data pretty printer. profile]] - Python source profiler. pstats]] - Statistics object for use with the profiler. pty (Linux)]] - Pseudo-Terminal Handling for Linux. pwd (Unix)]] - The password database (getpwnam() and friends). py_compile]] - Generate byte-code files from Python source files. pyclbr]] - Supports information extraction for a Python module browser. pydoc]] - Documentation generator and online help system.

q

queue]] - A synchronized queue class. quopri]] - Encode and decode files using the MIME quoted-printable encoding.

r

random]] - Generate pseudo-random numbers with various common distributions. re]] - Regular expression operations. readline (Unix)]] - GNU readline support for Python. reprlib]] - Alternate repr() implementation with size limits. resource (Unix)]] - An interface to provide resource usage information on the current process. rlcompleter]] - Python identifier completion, suitable for the GNU readline library. runpy]] - Locate and run Python modules without importing them first.

s

sched]] - General purpose event scheduler. secrets]] - Generate secure random numbers for managing secrets. select]] - Wait for I/O completion on multiple streams. selectors]] - High-level I/O multiplexing. shelve]] - Python object persistence. shlex]] - Simple lexical analysis for Unix shell-like languages. shutil]] - High-level file operations, including copying. signal]] - Set handlers for asynchronous events. site]] - Module responsible for site-specific configuration. smtpd]] - A SMTP server implementation in Python. smtplib]] - SMTP protocol client (requires sockets). sndhdr]] - Determine type of a sound file. socket]] - Low-level networking interface. socketserver]] - A framework for network servers. spwd (Unix)]] - The shadow password database (getspnam() and friends). sqlite3]] - A DB-API 2.0 implementation using SQLite 3.x. ssl]] - TLS/SSL wrapper for socket objects stat]] - Utilities for interpreting the results of os.stat(), os.lstat() and os.fstat(). statistics]] - Mathematical statistics functions string]] - Common string operations. stringprep]] - String preparation, as per RFC 3453 struct]] - Interpret bytes as packed binary data. subprocess]] - Subprocess management. sunau]] - Provide an interface to the Sun AU sound format. symbol]] - Constants representing internal nodes of the parse tree. symtable]] - Interface to the compiler's internal symbol tables. sys]] - Access system-specific parameters and functions. sysconfig]] - Python's configuration information syslog (Unix)]] - An interface to the Unix syslog library routines.

t

tabnanny]] - Tool for detecting white space related problems in Python source files in a directory tree. tarfile]] - Read and write tar-format archive files. telnetlib]] - Telnet client class. tempfile]] - Generate temporary files and directories. termios (Unix)]] - POSIX style tty control.

textwrap]] - Text wrapping and filling threading]] - Thread-based parallelism. time]] - Time access and conversions. timeit]] - Measure the execution time of small code snippets.

token]] - Constants representing terminal nodes of the parse tree. tokenize]] - Lexical scanner for Python source code. trace]] - Trace or track Python statement execution. traceback]] - Print or retrieve a stack traceback. tracemalloc]] - Trace memory allocations. tty (Unix)]] - Utility functions that perform common terminal control operations. turtle]] - An educational framework for simple graphics applications turtledemo]] - A viewer for example turtle scripts types]] - Names for built-in types. typing]] - Support for type hints (see PEP 484`). ==U== * [[unicodedata - Access the Unicode Database.

  • uu - Encode and decode files in uuencode format.
  • uuid - UUID objects (universally unique identifiers) according to RFC 4122

V

  • venv - Creation of virtual environments.

W

warnings]] - Issue warning messages and control their disposition. wave]] - Provide an interface to the WAV sound format. weakref]] - Support for weak references and weak dictionaries. webbrowser]] - 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.

X

Z

  • zipapp - Manage executable Python zip archives
  • zipfile - Read and write ZIP-format archive files.
  • zipimport - Support for importing Python modules from ZIP archives.
  • zlib - Low-level interface to compression and decompression routines compatible with gzip.

Fair Use Sources

Python Standard Library:

Python Standard Library os Module, Python Standard Library sys Module, Python Standard Library datetime Module, Python Standard Library json Module, Python Standard Library logging Module, Python Standard Library re Module, Python Standard Library subprocess Module, Python Standard Library threading Module, Python Standard Library copy Module, Python Standard Library csv Module, Python Standard Library argparse Module, Python Standard Library math Module, Python Standard Library random Module, Python Standard Library collections Module, Python Standard Library io Module, Python Standard Library pickle Module, Python Standard Library base64 Module, Python Standard Library time Module, Python Standard Library calendar Module, Python Standard Library hashlib Module, Python Standard Library http Module, Python Standard Library socket Module, Python Standard Library ssl Module, Python Standard Library urllib Module, Python Standard Library xml Module, Python Standard Library email Module, Python Standard Library unittest Module, Python Standard Library pdb Module, Python Standard Library traceback Module, Python Standard Library multiprocessing Module, Python Standard Library concurrent.futures Module, Python Standard Library queue Module, Python Standard Library asyncio Module, Python Standard Library shutil Module, Python Standard Library tempfile Module, Python Standard Library glob Module, Python Standard Library fnmatch Module, Python Standard Library linecache Module, Python Standard Library operator Module, Python Standard Library pathlib Module, Python Standard Library fileinput Module, Python Standard Library stat Module, Python Standard Library filecmp Module, Python Standard Library mmap Module, Python Standard Library sqlite3 Module, Python Standard Library ftplib Module, Python Standard Library poplib Module, Python Standard Library smtplib Module, Python Standard Library telnetlib Module, Python Standard Library uuid Module, Python Standard Library bz2 Module, Python Standard Library gzip Module, Python Standard Library lzma Module, Python Standard Library zipfile Module, Python Standard Library configparser Module, Python Standard Library getopt Module, Python Standard Library argparse Module, Python Standard Library logging.config Module, Python Standard Library logging.handlers Module, Python Standard Library getpass Module, Python Standard Library curses Module, Python Standard Library platform Module, Python Standard Library errno Module, Python Standard Library ctypes Module, Python Standard Library struct Module, Python Standard Library binascii Module, Python Standard Library codecs Module, Python Standard Library dis Module, Python Standard Library imp Module, Python Standard Library importlib Module, Python Standard Library pkgutil Module, Python Standard Library inspect Module, Python Standard Library token Module, Python Standard Library ast Module, Python Standard Library symtable Module, Python Standard Library symbol Module, Python Standard Library tokenize Module, Python Standard Library keyword Module, Python Standard Library heapq Module, Python Standard Library bisect Module, Python Standard Library itertools Module, Python Standard Library functools Module, Python Standard Library operator Module, Python Standard Library contextlib Module, Python Standard Library weakref Module, Python Standard Library gc Module, Python Standard Library copyreg Module, Python Standard Library reprlib Module, Python Standard Library enum Module, Python Standard Library types Module, Python Standard Library decimal Module, Python Standard Library fractions Module, Python Standard Library random Module, Python Standard Library statistics Module, Python Standard Library math Module, Python Standard Library cmath

Python Standard Library Glossary, PEPs related to the Python Standard Library, Python Scripting, Python Keywords, Python Data Structures and the Python Standard Library - Python Algorithms and the Python Standard Library, Python OOP and the Python Standard Library - Python Design Patterns and the Python Standard Library, Python Module Index, pymotw.com;

Python DevOps Libraries - Python SRE Libraries, Python Data Science Libraries - Python DataOps Libraries, Python Machine Learning Libraries, Python Deep Learning Libraries, Functional Python Libraries, Python Concurrency Libraries - Python GIL Libraries - Python Async Libraries (Asyncio), Python Testing Libraries (Pytest), Python Frameworks Python Library Topics, Python GitHub Libraries, Python Awesome. (navbar_python_standard_library - see also navbar_python, navbar_python_libaries, navbar_python_virtual_environments, navbar_numpy, navbar_datascience)

Python: Python Variables, Python Data Types, Python Control Structures, Python Loops, Python Functions, Python Modules, Python Packages, Python File Handling, Python Errors and Exceptions, Python Classes and Objects, Python Inheritance, Python Polymorphism, Python Encapsulation, Python Abstraction, Python Lists, Python Dictionaries, Python Tuples, Python Sets, Python String Manipulation, Python Regular Expressions, Python Comprehensions, Python Lambda Functions, Python Map, Filter, and Reduce, Python Decorators, Python Generators, Python Context Managers, Python Concurrency with Threads, Python Asynchronous Programming, Python Multiprocessing, Python Networking, Python Database Interaction, Python Debugging, Python Testing and Unit Testing, Python Virtual Environments, Python Package Management, Python Data Analysis, Python Data Visualization, Python Web Scraping, Python Web Development with Flask/Django, Python API Interaction, Python GUI Programming, Python Game Development, Python Security and Cryptography, Python Blockchain Programming, Python Machine Learning, Python Deep Learning, Python Natural Language Processing, Python Computer Vision, Python Robotics, Python Scientific Computing, Python Data Engineering, Python Cloud Computing, Python DevOps Tools, Python Performance Optimization, Python Design Patterns, Python Type Hints, Python Version Control with Git, Python Documentation, Python Internationalization and Localization, Python Accessibility, Python Configurations and Environments, Python Continuous Integration/Continuous Deployment, Python Algorithm Design, Python Problem Solving, Python Code Readability, Python Software Architecture, Python Refactoring, Python Integration with Other Languages, Python Microservices Architecture, Python Serverless Computing, Python Big Data Analysis, Python Internet of Things (IoT), Python Geospatial Analysis, Python Quantum Computing, Python Bioinformatics, Python Ethical Hacking, Python Artificial Intelligence, Python Augmented Reality and Virtual Reality, Python Blockchain Applications, Python Chatbots, Python Voice Assistants, Python Edge Computing, Python Graph Algorithms, Python Social Network Analysis, Python Time Series Analysis, Python Image Processing, Python Audio Processing, Python Video Processing, Python 3D Programming, Python Parallel Computing, Python Event-Driven Programming, Python Reactive Programming.

Variables, Data Types, Control Structures, Loops, Functions, Modules, Packages, File Handling, Errors and Exceptions, Classes and Objects, Inheritance, Polymorphism, Encapsulation, Abstraction, Lists, Dictionaries, Tuples, Sets, String Manipulation, Regular Expressions, Comprehensions, Lambda Functions, Map, Filter, and Reduce, Decorators, Generators, Context Managers, Concurrency with Threads, Asynchronous Programming, Multiprocessing, Networking, Database Interaction, Debugging, Testing and Unit Testing, Virtual Environments, Package Management, Data Analysis, Data Visualization, Web Scraping, Web Development with Flask/Django, API Interaction, GUI Programming, Game Development, Security and Cryptography, Blockchain Programming, Machine Learning, Deep Learning, Natural Language Processing, Computer Vision, Robotics, Scientific Computing, Data Engineering, Cloud Computing, DevOps Tools, Performance Optimization, Design Patterns, Type Hints, Version Control with Git, Documentation, Internationalization and Localization, Accessibility, Configurations and Environments, Continuous Integration/Continuous Deployment, Algorithm Design, Problem Solving, Code Readability, Software Architecture, Refactoring, Integration with Other Languages, Microservices Architecture, Serverless Computing, Big Data Analysis, Internet of Things (IoT), Geospatial Analysis, Quantum Computing, Bioinformatics, Ethical Hacking, Artificial Intelligence, Augmented Reality and Virtual Reality, Blockchain Applications, Chatbots, Voice Assistants, Edge Computing, Graph Algorithms, Social Network Analysis, Time Series Analysis, Image Processing, Audio Processing, Video Processing, 3D Programming, Parallel Computing, Event-Driven Programming, Reactive Programming.


Python Glossary, Python Fundamentals, Python Inventor: Python Language Designer: Guido van Rossum on 20 February 1991; PEPs, Python Scripting, Python Keywords, Python Built-In Data Types, Python Data Structures - Python Algorithms, Python Syntax, Python OOP - Python Design Patterns, Python Module Index, pymotw.com, Python Package Manager (pip-PyPI), Python Virtualization (Conda, Miniconda, Virtualenv, Pipenv, Poetry), Python Interpreter, CPython, Python REPL, Python IDEs (PyCharm, Jupyter Notebook), Python Development Tools, Python Linter, Pythonista-Python User, Python Uses, List of Python Software, Python Popularity, Python Compiler, Python Transpiler, Python DevOps - Python SRE, Python Data Science - Python DataOps, Python Machine Learning, Python Deep Learning, Functional Python, Python Concurrency - Python GIL - Python Async (Asyncio), Python Standard Library, Python Testing (Pytest), Python Libraries (Flask), Python Frameworks (Django), Python History, Python Bibliography, Manning Python Series, Python Official Glossary - Python Glossary, Python Topics, Python Courses, Python Research, Python GitHub, Written in Python, Python Awesome List, Python Versions. (navbar_python - see also navbar_python_libaries, navbar_python_standard_library, navbar_python_virtual_environments, navbar_numpy, navbar_datascience)


© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


python_standard_library_module_index.txt · Last modified: 2024/04/28 03:14 by 127.0.0.1