= for self-documenting expressions and debuggingbreakpoint()__main__typing module and Generic Typesconcurrent.futures modulemake regen-all build targetmake touch build targetsite-packages Directorymultiprocessing Packageprint As a Functionif Statementsfor Statementsrange() Functionbreak and continue Statementselse Clauses on Loopspass Statementsmatch Statementsnumbers.Number assert statementpass statementdel statementreturn statementyield statementraise statementbreak statementcontinue statementimport statement global statementnonlocal statementtype statementif statementwhile statementfor statementtry statement with statementmatch statement and, or, notint, float, complex boollist, tuple, range str bytes, bytearray, memoryview set, frozensetdict string — Common string operations string.templatelib — Support for template string literals re — Regular expression operations difflib — Helpers for computing deltas textwrap — Text wrapping and fillingunicodedata — Unicode Databasestringprep — Internet String Preparationreadline — GNU readline interface rlcompleter — Completion function for GNU readlinestruct — Interpret bytes as packed binary data codecs — Codec registry and base classes datetime — Basic date and time types zoneinfo — IANA time zone support calendar — General calendar-related functions collections — Container datatypes collections.abc — Abstract Base Classes for Containers heapq — Heap queue algorithm bisect — Array bisection algorithm array — Efficient arrays of numeric valuesweakref — Weak references types — Dynamic type creation and names for built-in types copy — Shallow and deep copy operationspprint — Data pretty printer reprlib — Alternate repr() implementation enum — Support for enumerations graphlib — Functionality to operate with graph-like structures pathlib — Object-oriented filesystem paths os.path — Common pathname manipulationsstat — Interpreting stat() resultsfilecmp — File and Directory Comparisons tempfile — Generate temporary files and directories glob — Unix style pathname pattern expansion fnmatch — Unix filename pattern matchinglinecache — Random access to text linesshutil — High-level file operations pickle — Python object serialization copyreg — Register pickle support functions shelve — Python object persistence marshal — Internal Python object serializationdbm — Interfaces to Unix “databases” sqlite3 — DB-API 2.0 interface for SQLite databasescompression packagecompression.zstd — Compression compatible with the Zstandard format zlib — Compression compatible with gzipgzip — Support for gzip files bz2 — Support for bzip2 compression lzma — Compression using the LZMA algorithm zipfile — Work with ZIP archives tarfile — Read and write tar archive files os — Miscellaneous operating system interfaces io — Core tools for working with streams time — Time access and conversions logging — Logging facility for Python logging.config — Logging configuration logging.handlers — Logging handlers platform — Access to underlying platform’s identifying data errno — Standard errno system symbolsctypes — A foreign function library for Pythonargparse — Parser for command-line options, arguments and subcommands optparse — Parser for command line optionsoptparse getpass — Portable password inputfileinput — Iterate over lines from multiple input streamscurses — Terminal handling for character-cell displays curses.textpad — Text input widget for curses programs curses.ascii — Utilities for ASCII characterscurses.panel — A panel stack extension for curses cmd — Support for line-oriented command interpreters threading — Thread-based parallelism multiprocessing — Process-based parallelismmultiprocessing.shared_memory — Shared memory for direct access across processesconcurrent packageconcurrent.futures — Launching parallel tasks concurrent.interpreters — Multiple interpreters in the same process subprocess — Subprocess management sched — Event scheduler queue — A synchronized queue class contextvars — Context Variables _thread — Low-level threading APIasyncio — Asynchronous I/Osocket — Low-level networking interface ssl — TLS/SSL wrapper for socket objects select — Waiting for I/O completion selectors — High-level I/O multiplexing signal — Set handlers for asynchronous events mmap — Memory-mapped file support email — An email and MIME handling packageemail.message: Representing an email messageemail.parser: Parsing email messages email.generator: Generating MIME documentsemail.policy: Policy Objectsemail.errors: Exception and Defect classesemail.headerregistry: Custom Header Objectsemail.contentmanager: Managing MIME Content email: Examplesemail.message.Message: Representing an email message using the compat32 APIemail.mime: Creating email and MIME objects from scratchemail.header: Internationalized headersemail.charset: Representing character setsemail.encoders: Encodersemail.utils: Miscellaneous utilitiesemail.iterators: Iteratorsjson — JSON encoder and decoder mailbox — Manipulate mailboxes in various formats mimetypes — Map filenames to MIME types base64 — Base16, Base32, Base64, Base85 Data Encodings binascii — Convert between binary and ASCIIquopri — Encode and decode MIME quoted-printable datahtml — HyperText Markup Language supporthtml.parser — Simple HTML and XHTML parser html.entities — Definitions of HTML general entitiesxml.etree.ElementTree — The ElementTree XML API xml.dom — The Document Object Model API xml.dom.minidom — Minimal DOM implementation xml.dom.pulldom — Support for building partial DOM trees xml.sax — Support for SAX2 parsers xml.sax.handler — Base classes for SAX handlers xml.sax.saxutils — SAX Utilitiesxml.sax.xmlreader — Interface for XML parsers xml.parsers.expat — Fast XML parsing using Expat webbrowser — Convenient web-browser controller wsgiref — WSGI Utilities and Reference Implementation urllib — URL handling modulesurllib.request — Extensible library for opening URLsurllib.request Restrictionsurllib.response — Response classes used by urlliburllib.parse — Parse URLs into components urllib.error — Exception classes raised by urllib.requesturllib.robotparser — Parser for robots.txthttp — HTTP modules http.client — HTTP protocol client ftplib — FTP protocol client poplib — POP3 protocol client imaplib — IMAP4 protocol client smtplib — SMTP protocol client uuid — UUID objects according to RFC 9562 socketserver — A framework for network servers http.server — HTTP servers http.cookies — HTTP state management http.cookiejar — Cookie handling for HTTP clients xmlrpc — XMLRPC server and client modulesxmlrpc.client — XML-RPC client access xmlrpc.server — Basic XML-RPC servers ipaddress — IPv4/IPv6 manipulation library tkinter — Python interface to Tcl/Tk tkinter.colorchooser — Color choosing dialogtkinter.font — Tkinter font wrappertkinter.messagebox — Tkinter message promptstkinter.scrolledtext — Scrolled Text Widgettkinter.dnd — Drag and drop supporttkinter.ttk — Tk themed widgets turtle — Turtle graphicsturtledemo — Demo scriptstyping — Support for type hintsAny typepydoc — Documentation generator and online help systemdoctest — Test interactive Python examples unittest — Unit testing framework unittest.mock — mock object library unittest.mock — getting startedtest — Regression tests package for Python test.support — Utilities for the Python test suitetest.support.socket_helper — Utilities for socket teststest.support.script_helper — Utilities for the Python execution teststest.support.bytecode_helper — Support tools for testing correct bytecode generationtest.support.threading_helper — Utilities for threading teststest.support.os_helper — Utilities for os teststest.support.import_helper — Utilities for import teststest.support.warnings_helper — Utilities for warnings testssys — System-specific parameters and functionssys.monitoring — Execution event monitoring sysconfig — Provide access to Python’s configuration information builtins — Built-in objects__main__ — Top-level code environment warnings — Warning control dataclasses — Data Classes contextlib — Utilities for with-statement contexts abc — Abstract Base Classesatexit — Exit handlers traceback — Print or retrieve a stack traceback __future__ — Future statement definitions gc — Garbage Collector interfaceinspect — Inspect live objects annotationlib — Functionality for introspecting annotations site — Site-specific configuration hook zipimport — Import modules from Zip archives pkgutil — Package extension utilitymodulefinder — Find modules used by a script runpy — Locating and executing Python modulesimportlib — The implementation of import importlib.resources – Package resource reading, opening and access importlib.resources.abc – Abstract base classes for resourcesimportlib.metadata – Accessing package metadata sys.path module search path ast — Abstract syntax trees symtable — Access to the compiler’s symbol tables token — Constants used with Python parse treeskeyword — Testing for Python keywordstokenize — Tokenizer for Python source tabnanny — Detection of ambiguous indentationpyclbr — Python module browser support py_compile — Compile Python source files compileall — Byte-compile Python libraries dis — Disassembler for Python bytecode pickletools — Tools for pickle developers shlex — Simple lexical analysis posix — The most common POSIX system calls pwd — The password databasegrp — The group databasetermios — POSIX style tty control tty — Terminal control functionspty — Pseudo-terminal utilities fcntl — The fcntl and ioctl system callsresource — Resource usage information syslog — Unix syslog library routines *.pyd file the same as a DLL?
© 2001–2025 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.14/contents.html