PYTHON3.10 标准库全集---官方链接

做比赛时竞赛方常常会对选手使用的第三方库进行限制,然而,博主往往对于自己使用的库到底是标准库还是第三方库感到疑惑。即使查找百度,有些库也不能给出明确的答案,因此,博主找到了最新的python3.10.3官方稳定供大家参考,只要不在这个里面的就是第三方库。

目录

一、官方链接

二、标准库排序


一、官方链接

Python 标准库 — Python 3.10.3 文档

不需要挂VP,点击即可

二、标准库排序

如果仅仅想查找某一模块是不是标准库,博主也按照首字母排序整理好了全部标准库供大家参考:

__future__ — Future statement definitions
__main__ — Top-level code environment
_thread — Low-level threading API
2to3 - Automated Python 2 to 3 code translation
abc — Abstract Base Classes
aifc — Read and write AIFF and AIFC files
argparse — Parser for command-line options, arguments and sub-commands
array — Efficient arrays of numeric values
ast — Abstract Syntax Trees
asynchat — Asynchronous socket command/response handler
asyncio — Asynchronous I/O
asyncore — Asynchronous socket handler
atexit — Exit handlers
audioop — Manipulate raw audio data
Audit events table
Bad file descriptor error example
base64 — Base16, Base32, Base64, Base85 Data Encodings
bdb — Debugger framework
binascii — Convert between binary and ASCII
binhex — Encode and decode binhex4 files
bisect — Array bisection algorithm
builtins — Built-in objects
bz2 — Support for bzip2 compression
calendar — General calendar-related functions
cgi — Common Gateway Interface support
cgitb — Traceback manager for CGI scripts
chunk — Read IFF chunked data
cmath — Mathematical functions for complex numbers
cmd — Support for line-oriented command interpreters
code — Interpreter base classes
codecs — Codec registry and base classes
codeop — Compile Python code
collections — Container datatypes
collections.abc — Abstract Base Classes for Containers
colorsys — Conversions between color systems
compileall — Byte-compile Python libraries
concurrent.futures — Launching parallel tasks
configparser — Configuration file parser
contextlib — Utilities for with-statement contexts
contextvars — Context Variables
copy — Shallow and deep copy operations
copyreg — Register pickle support functions
crypt — Function to check Unix passwords
csv — CSV File Reading and Writing
ctypes — A foreign function library for Python
curses — Terminal handling for character-cell displays
curses.ascii — Utilities for ASCII characters
curses.panel — A panel stack extension for curses
curses.textpad — Text input widget for curses programs
dataclasses — Data Classes
datetime — Basic date and time types
dbm — Interfaces to Unix “databases”
decimal — Decimal fixed point and floating point arithmetic
difflib — Helpers for computing deltas
dis — Disassembler for Python bytecode
distutils — Building and installing Python modules
doctest — Test interactive Python examples
Effects of the Python Development Mode
email — An email and MIME handling package
ensurepip — Bootstrapping the pip installer
enum — Support for enumerations
errno — Standard errno system symbols
faulthandler — Dump the Python traceback
fcntl — The fcntl and ioctl system calls
filecmp — File and Directory Comparisons
fileinput — Iterate over lines from multiple input streams
fnmatch — Unix filename pattern matching
fractions — Rational numbers
ftplib — FTP protocol client
functools — Higher-order functions and operations on callable objects
gc — Garbage Collector interface
getopt — C-style parser for command line options
getpass — Portable password input
gettext — Multilingual internationalization services
glob — Unix style pathname pattern expansion
graphlib — Functionality to operate with graph-like structures
grp — The group database
gzip — Support for gzip files
hashlib — Secure hashes and message digests
heapq — Heap queue algorithm
hmac — Keyed-Hashing for Message Authentication
html — HyperText Markup Language support
html.entities — Definitions of HTML general entities
html.parser — Simple HTML and XHTML parser
http — HTTP modules
http.client — HTTP protocol client
http.cookiejar — Cookie handling for HTTP clients
http.cookies — HTTP state management
http.server — HTTP servers
IDLE
imaplib — IMAP4 protocol client
imghdr — Determine the type of an image
imp — Access the import internals
importlib — The implementation of import
inspect — Inspect live objects
io — Core tools for working with streams
ipaddress — IPv4/IPv6 manipulation library
itertools — Functions creating iterators for efficient looping
json — JSON encoder and decoder
keyword — Testing for Python keywords
linecache — Random access to text lines
locale — Internationalization services
logging — Logging facility for Python
logging.config — Logging configuration
logging.handlers — Logging handlers
lzma — Compression using the LZMA algorithm
mailbox — Manipulate mailboxes in various formats
mailcap — Mailcap file handling
marshal — Internal Python object serialization
math — Mathematical functions
mimetypes — Map filenames to MIME types
mmap — Memory-mapped file support
modulefinder — Find modules used by a script
msilib — Read and write Microsoft Installer files
msvcrt — Useful routines from the MS VC++ runtime
multiprocessing — Process-based parallelism
multiprocessing.shared_memory — Provides shared memory for direct access across processes
netrc — netrc file processing
nis — Interface to Sun’s NIS (Yellow Pages)
nntplib — NNTP protocol client
numbers — Numeric abstract base classes
operator — Standard operators as functions
optparse — Parser for command line options
os — Miscellaneous operating system interfaces
os.path — Common pathname manipulations
ossaudiodev — Access to OSS-compatible audio devices
pathlib — Object-oriented filesystem paths
pdb — The Python Debugger
pickle — Python object serialization
pickletools — Tools for pickle developers
pipes — Interface to shell pipelines
pkgutil — Package extension utility
platform — Access to underlying platform’s identifying data
plistlib — Generate and parse Apple .plist files
poplib — POP3 protocol client
posix — The most common POSIX system calls
pprint — Data pretty printer
pty — Pseudo-terminal utilities
pwd — The password database
py_compile — Compile Python source files
pyclbr — Python module browser support
pydoc — Documentation generator and online help system
Python Development Mode
queue — A synchronized queue class
quopri — Encode and decode MIME quoted-printable data
random — Generate pseudo-random numbers
re — Regular expression operations
readline — GNU readline interface
reprlib — Alternate repr() implementation
resource — Resource usage information
ResourceWarning Example
rlcompleter — Completion function for GNU readline
runpy — Locating and executing Python modules
sched — Event scheduler
secrets — Generate secure random numbers for managing secrets
select — Waiting for I/O completion
selectors — High-level I/O multiplexing
shelve — Python object persistence
shlex — Simple lexical analysis
shutil — High-level file operations
signal — Set handlers for asynchronous events
site — Site-specific configuration hook
smtpd — SMTP Server
smtplib — SMTP protocol client
sndhdr — Determine type of sound file
socket — Low-level networking interface
socketserver — A framework for network servers
spwd — The shadow password database
sqlite3 — DB-API 2.0 interface for SQLite databases
ssl — TLS/SSL wrapper for socket objects
stat — Interpreting stat() results
statistics — Mathematical statistics functions
string — Common string operations
stringprep — Internet String Preparation
struct — Interpret bytes as packed binary data
subprocess — Subprocess management
sunau — Read and write Sun AU files
symtable — Access to the compiler’s symbol tables
sys — System-specific parameters and functions
sysconfig — Provide access to Python’s configuration information
syslog — Unix syslog library routines
tabnanny — Detection of ambiguous indentation
tarfile — Read and write tar archive files
telnetlib — Telnet client
tempfile — Generate temporary files and directories
termios — POSIX style tty control
test — Regression tests package for Python
test.support — Utilities for the Python test suite
test.support.bytecode_helper — Support tools for testing correct bytecode generation
test.support.import_helper — Utilities for import tests
test.support.os_helper — Utilities for os tests
test.support.script_helper — Utilities for the Python execution tests
test.support.socket_helper — Utilities for socket tests
test.support.threading_helper — Utilities for threading tests
test.support.warnings_helper — Utilities for warnings tests
textwrap — Text wrapping and filling
The Python Profilers
The concurrent package
threading — Thread-based parallelism
time — Time access and conversions
timeit — Measure execution time of small code snippets
Tkinter Dialogs
tkinter — Python interface to Tcl/Tk
tkinter.colorchooser — Color choosing dialog
tkinter.dnd — Drag and drop support
tkinter.font — Tkinter font wrapper
tkinter.messagebox — Tkinter message prompts
tkinter.scrolledtext — Scrolled Text Widget
tkinter.tix — Extension widgets for Tk
tkinter.ttk — Tk themed widgets
token — Constants used with Python parse trees
tokenize — Tokenizer for Python source
trace — Trace or track Python statement execution
traceback — Print or retrieve a stack traceback
tracemalloc — Trace memory allocations
tty — Terminal control functions
turtle — Turtle graphics
types — Dynamic type creation and names for built-in types
typing — Support for type hints
unicodedata — Unicode Database
unittest — Unit testing framework
unittest.mock — getting started
unittest.mock — mock object library
urllib — URL handling modules
urllib.error — Exception classes raised by urllib.request
urllib.parse — Parse URLs into components
urllib.request — Extensible library for opening URLs
urllib.response — Response classes used by urllib
urllib.robotparser — Parser for robots.txt
Using importlib.metadata
uu — Encode and decode uuencode files
uuid — UUID objects according to RFC 4122
venv — Creation of virtual environments
warnings — Warning control
wave — Read and write WAV files
weakref — Weak references
webbrowser — Convenient web-browser controller
winreg — Windows registry access
winsound — Sound-playing interface for Windows
wsgiref — WSGI Utilities and Reference Implementation
xdrlib — Encode and decode XDR data
XML Processing Modules
xml.dom — The Document Object Model API
xml.dom.minidom — Minimal DOM implementation
xml.dom.pulldom — Support for building partial DOM trees
xml.etree.ElementTree — The ElementTree XML API
xml.parsers.expat — Fast XML parsing using Expat
xml.sax — Support for SAX2 parsers
xml.sax.handler — Base classes for SAX handlers
xml.sax.saxutils — SAX Utilities
xml.sax.xmlreader — Interface for XML parsers
xmlrpc — XMLRPC server and client modules
xmlrpc.client — XML-RPC client access
xmlrpc.server — Basic XML-RPC servers
zipapp — Manage executable Python zip archives
zipfile — Work with ZIP archives
zipimport — Import modules from Zip archives
zlib — Compression compatible with gzip
zoneinfo — IANA time zone support
__future__ — Future statement definitions
__main__ — Top-level code environment
_thread — Low-level threading API
2to3 - Automated Python 2 to 3 code translation
abc — Abstract Base Classes
aifc — Read and write AIFF and AIFC files
argparse — Parser for command-line options, arguments and sub-commands
array — Efficient arrays of numeric values
ast — Abstract Syntax Trees
asynchat — Asynchronous socket command/response handler
asyncio — Asynchronous I/O
asyncore — Asynchronous socket handler
atexit — Exit handlers
audioop — Manipulate raw audio data
Audit events table
Bad file descriptor error example
base64 — Base16, Base32, Base64, Base85 Data Encodings
bdb — Debugger framework
binascii — Convert between binary and ASCII
binhex — Encode and decode binhex4 files
bisect — Array bisection algorithm
builtins — Built-in objects
bz2 — Support for bzip2 compression
calendar — General calendar-related functions
cgi — Common Gateway Interface support
cgitb — Traceback manager for CGI scripts
chunk — Read IFF chunked data
cmath — Mathematical functions for complex numbers
cmd — Support for line-oriented command interpreters
code — Interpreter base classes
codecs — Codec registry and base classes
codeop — Compile Python code
collections — Container datatypes
collections.abc — Abstract Base Classes for Containers
colorsys — Conversions between color systems
compileall — Byte-compile Python libraries
concurrent.futures — Launching parallel tasks
configparser — Configuration file parser
contextlib — Utilities for with-statement contexts
contextvars — Context Variables
copy — Shallow and deep copy operations
copyreg — Register pickle support functions
crypt — Function to check Unix passwords
csv — CSV File Reading and Writing
ctypes — A foreign function library for Python
curses — Terminal handling for character-cell displays
curses.ascii — Utilities for ASCII characters
curses.panel — A panel stack extension for curses
curses.textpad — Text input widget for curses programs
dataclasses — Data Classes
datetime — Basic date and time types
dbm — Interfaces to Unix “databases”
decimal — Decimal fixed point and floating point arithmetic
difflib — Helpers for computing deltas
dis — Disassembler for Python bytecode
distutils — Building and installing Python modules
doctest — Test interactive Python examples
Effects of the Python Development Mode
email — An email and MIME handling package
ensurepip — Bootstrapping the pip installer
enum — Support for enumerations
errno — Standard errno system symbols
faulthandler — Dump the Python traceback
fcntl — The fcntl and ioctl system calls
filecmp — File and Directory Comparisons
fileinput — Iterate over lines from multiple input streams
fnmatch — Unix filename pattern matching
fractions — Rational numbers
ftplib — FTP protocol client
functools — Higher-order functions and operations on callable objects
gc — Garbage Collector interface
getopt — C-style parser for command line options
getpass — Portable password input
gettext — Multilingual internationalization services
glob — Unix style pathname pattern expansion
graphlib — Functionality to operate with graph-like structures
grp — The group database
gzip — Support for gzip files
hashlib — Secure hashes and message digests
heapq — Heap queue algorithm
hmac — Keyed-Hashing for Message Authentication
html — HyperText Markup Language support
html.entities — Definitions of HTML general entities
html.parser — Simple HTML and XHTML parser
http — HTTP modules
http.client — HTTP protocol client
http.cookiejar — Cookie handling for HTTP clients
http.cookies — HTTP state management
http.server — HTTP servers
IDLE
imaplib — IMAP4 protocol client
imghdr — Determine the type of an image
imp — Access the import internals
importlib — The implementation of import
inspect — Inspect live objects
io — Core tools for working with streams
ipaddress — IPv4/IPv6 manipulation library
itertools — Functions creating iterators for efficient looping
json — JSON encoder and decoder
keyword — Testing for Python keywords
linecache — Random access to text lines
locale — Internationalization services
logging — Logging facility for Python
logging.config — Logging configuration
logging.handlers — Logging handlers
lzma — Compression using the LZMA algorithm
mailbox — Manipulate mailboxes in various formats
mailcap — Mailcap file handling
marshal — Internal Python object serialization
math — Mathematical functions
mimetypes — Map filenames to MIME types
mmap — Memory-mapped file support
modulefinder — Find modules used by a script
msilib — Read and write Microsoft Installer files
msvcrt — Useful routines from the MS VC++ runtime
multiprocessing — Process-based parallelism
multiprocessing.shared_memory — Provides shared memory for direct access across processes
netrc — netrc file processing
nis — Interface to Sun’s NIS (Yellow Pages)
nntplib — NNTP protocol client
numbers — Numeric abstract base classes
operator — Standard operators as functions
optparse — Parser for command line options
os — Miscellaneous operating system interfaces
os.path — Common pathname manipulations
ossaudiodev — Access to OSS-compatible audio devices
pathlib — Object-oriented filesystem paths
pdb — The Python Debugger
pickle — Python object serialization
pickletools — Tools for pickle developers
pipes — Interface to shell pipelines
pkgutil — Package extension utility
platform — Access to underlying platform’s identifying data
plistlib — Generate and parse Apple .plist files
poplib — POP3 protocol client
posix — The most common POSIX system calls
pprint — Data pretty printer
pty — Pseudo-terminal utilities
pwd — The password database
py_compile — Compile Python source files
pyclbr — Python module browser support
pydoc — Documentation generator and online help system
Python Development Mode
queue — A synchronized queue class
quopri — Encode and decode MIME quoted-printable data
random — Generate pseudo-random numbers
re — Regular expression operations
readline — GNU readline interface
reprlib — Alternate repr() implementation
resource — Resource usage information
ResourceWarning Example
rlcompleter — Completion function for GNU readline
runpy — Locating and executing Python modules
sched — Event scheduler
secrets — Generate secure random numbers for managing secrets
select — Waiting for I/O completion
selectors — High-level I/O multiplexing
shelve — Python object persistence
shlex — Simple lexical analysis
shutil — High-level file operations
signal — Set handlers for asynchronous events
site — Site-specific configuration hook
smtpd — SMTP Server
smtplib — SMTP protocol client
sndhdr — Determine type of sound file
socket — Low-level networking interface
socketserver — A framework for network servers
spwd — The shadow password database
sqlite3 — DB-API 2.0 interface for SQLite databases
ssl — TLS/SSL wrapper for socket objects
stat — Interpreting stat() results
statistics — Mathematical statistics functions
string — Common string operations
stringprep — Internet String Preparation
struct — Interpret bytes as packed binary data
subprocess — Subprocess management
sunau — Read and write Sun AU files
symtable — Access to the compiler’s symbol tables
sys — System-specific parameters and functions
sysconfig — Provide access to Python’s configuration information
syslog — Unix syslog library routines
tabnanny — Detection of ambiguous indentation
tarfile — Read and write tar archive files
telnetlib — Telnet client
tempfile — Generate temporary files and directories
termios — POSIX style tty control
test — Regression tests package for Python
test.support — Utilities for the Python test suite
test.support.bytecode_helper — Support tools for testing correct bytecode generation
test.support.import_helper — Utilities for import tests
test.support.os_helper — Utilities for os tests
test.support.script_helper — Utilities for the Python execution tests
test.support.socket_helper — Utilities for socket tests
test.support.threading_helper — Utilities for threading tests
test.support.warnings_helper — Utilities for warnings tests
textwrap — Text wrapping and filling
The Python Profilers
The concurrent package
threading — Thread-based parallelism
time — Time access and conversions
timeit — Measure execution time of small code snippets
Tkinter Dialogs
tkinter — Python interface to Tcl/Tk
tkinter.colorchooser — Color choosing dialog
tkinter.dnd — Drag and drop support
tkinter.font — Tkinter font wrapper
tkinter.messagebox — Tkinter message prompts
tkinter.scrolledtext — Scrolled Text Widget
tkinter.tix — Extension widgets for Tk
tkinter.ttk — Tk themed widgets
token — Constants used with Python parse trees
tokenize — Tokenizer for Python source
trace — Trace or track Python statement execution
traceback — Print or retrieve a stack traceback
tracemalloc — Trace memory allocations
tty — Terminal control functions
turtle — Turtle graphics
types — Dynamic type creation and names for built-in types
typing — Support for type hints
unicodedata — Unicode Database
unittest — Unit testing framework
unittest.mock — getting started
unittest.mock — mock object library
urllib — URL handling modules
urllib.error — Exception classes raised by urllib.request
urllib.parse — Parse URLs into components
urllib.request — Extensible library for opening URLs
urllib.response — Response classes used by urllib
urllib.robotparser — Parser for robots.txt
Using importlib.metadata
uu — Encode and decode uuencode files
uuid — UUID objects according to RFC 4122
venv — Creation of virtual environments
warnings — Warning control
wave — Read and write WAV files
weakref — Weak references
webbrowser — Convenient web-browser controller
winreg — Windows registry access
winsound — Sound-playing interface for Windows
wsgiref — WSGI Utilities and Reference Implementation
xdrlib — Encode and decode XDR data
XML Processing Modules
xml.dom — The Document Object Model API
xml.dom.minidom — Minimal DOM implementation
xml.dom.pulldom — Support for building partial DOM trees
xml.etree.ElementTree — The ElementTree XML API
xml.parsers.expat — Fast XML parsing using Expat
xml.sax — Support for SAX2 parsers
xml.sax.handler — Base classes for SAX handlers
xml.sax.saxutils — SAX Utilities
xml.sax.xmlreader — Interface for XML parsers
xmlrpc — XMLRPC server and client modules
xmlrpc.client — XML-RPC client access
xmlrpc.server — Basic XML-RPC servers
zipapp — Manage executable Python zip archives
zipfile — Work with ZIP archives
zipimport — Import modules from Zip archives
zlib — Compression compatible with gzip
zoneinfo — IANA time zone support

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

糠帅傅蓝烧牛肉面

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值