Python 3.x standard Module library catalog

Source: Internet
Author: User
Tags mathematical functions posix shallow copy sqlite database syslog ftp protocol virtual environment

Text

1. String: Universal string manipulation

2. Re: Regular expression operation

3. Difflib: Difference Calculation tool

4. TextWrap: Text Fill

5. Unicodedata:unicode Character Database

6. Stringprep: Internet String Preparation Tool

7. Readline:gnu read interface by line

8. Rlcompleter:gnu read-by-line implementation function

Binary data

9. Struct: Parsing bytes into packaged binary data

Codecs: A codec for the registry and the base class

Data type

DateTime: Based on the date and Time tool

Calendar: Universal Month function

Collections: Container Data type

COLLECTIONS.ABC: Container virtual base class

HEAPQ: Heap Queue algorithm

Bisect: Array two-part algorithm

. Array: An efficient array of values

Weakref: Weak references

Types: Dynamic creation and naming of built-in types

Copy: Shallow copy and deep copy

Pprint: Formatted output

Reprlib: The realization of alternating repr ()

Mathematical

Numbers: Virtual base class for numeric values

Math: Mathematical Functions

Cmath: Mathematical functions of complex numbers

Decimal: Fixed-point number and floating-point calculation

Fractions: Rational number

Random: Generating pseudo-random numbers

Function-Type programming

Itertools: Generating iterators for efficient loops

Functools: higher-order functions and operations on callable objects

Operator: standard operation for functions

Files and directories

Os.path: Universal path name control

Fileinput: Traversing rows from multiple input streams

Stat: Explanation of the results of stat ()

FILECMP: File-to-directory comparison function

Tempfile: Generate temporary files and directories

The extension of the Glob:unix style path name format

Fnmatch:unix style path name format comparison

Linecache: Random Storage of text lines

Shutil: Advanced file operations

Macpath:mac OS 9 Path control functions

Persistence of

Pickle:python. Serialization of objects

Copyreg: keygen support function for pickle

Shelve:python Object Persistence

Marshal: Serialization of internal Python objects

Dbm:unix "Database" interface

Sqlite3: API 2.0 for SQLite database

Compression

Zlib: gzip-compatible compression

. GZIP: Support for gzip files

BZ2: Support for bzip2 compression

Wuyi Lzma: Compression using the LZMA algorithm

ZipFile: Manipulating Zip Archives

Tarfile: Read and write tar archive files

File formatting

A. csv: Read/write CSV file

Configparser: Configuration file Parser

. netrc:netrc File Processor

XDRLIB:XDR Data encoding and decoding

Plistlib: Generate and Parse Mac OS X. plist files

Encryption

Hashlib: Secure Hash and message digest

HMAC: Key hash for message authentication

Operating System Tools

OS: Multi-faceted operating system interface

The. IO: Stream core Tool

Time: Query and Conversion

Argparser: Parser for command line options, parameters, and subcommands

Optparser: command-line option resolver

GETOPT:C-style command-line option parser

Logging:python. Log tool

Logging.config: Log Configuration

Logging.handlers: Log Processor

Getpass: Easy Password input

Curses: terminal processing of character display

Text input fields for curses.textpad:curses programs

Curses.ascii:ASCII Character Set Tool

The control stack extension of curses.panel:curses.

Platform: Access to the underlying platform authentication data

errno: Standard error Mark

Ctypes:python External Function Library

Concurrent

Threading: Thread-based parallelism

Multiprocessing: Process-based parallelism

Concurrent: and the contract.

Bayi. Concurrent.futures: Start a parallel task

Subprocess: Child process Management

Sched: Event Scheduling

. Queue: Synchronization queue

A. Select: Waiting for I/O completion

Replacement of the Dummy_threading:threading module (when _thread is not available)

_thread: the underlying threading API (threading based on it)

Substitution of the _dummy_thread:_thread module (when _thread is not available)

Inter-process communication

The socket: the underlying network interface

Tls/ssl Filler for Ssl:socket objects

Asyncore: Asynchronous Socket processor

Asynchat: Asynchronous socket Command/response processor

Signal: Asynchronous transaction Signal processor

94. Mmap: Memory-mapped file support

Internet

Email: Mail and MIME processing package

Json:json encoding and decoding

. mailcap:mailcap File Processing

98. Mailbox: Multiple Format Control mailboxes

Mimetypes: File name and MIME type mapping

Base64:rfc 3548:base16, Base32, Base64 code

101. binhex:binhex4 file Encoding and decoding

102. BINASCII: Conversion between binary code and ASCII code

103. Encoding and decoding of Quopri:mime quoted-printable data

Encoding and decoding of 104. Uu:uuencode files

HTML and XML

html:html Support

106. Html.parser: Simple HTML and XHTML parser

107. Definition of Html.entities:HTML generic entity

108. Xml:xml Processing Module

109. Xml.etree.ElementTree: Tree-shaped XML element API

Xml.dom:XML Dom API

111. Xml.dom.minidom:XML Dom minimum spanning tree

Xml.dom.pulldom: Support for building part of the DOM tree

113. Support for XML.SAX:SAX2 parsing

Xml.sax.handler:SAX processor base class

Xml.sax.saxutils:SAX Tools

Xml.sax.xmlreader:SAX Parser Interface

117. Xml.parsers.expat: Using expat to parse XML quickly

Internet Protocol and Support

118. WebBrowser: Simple Web browser controller

119. CGI:CGI Support

CGITB:CGI script Reverse Tracking Manager

121. WSGIREF:WSGI Tools and Reference implementations

122. Urllib:url Processing Module

123. Urllib.request: Open the extension library for URL connections

124. Response Classes for Urllib.response:urllib modules

Urllib.parse: Parsing URLs into components

126. Exception classes Thrown by Urllib.error:urllib.request

127. Urllib.robotparser:robots.txt's Parser

Http:http Module

129. Http.client:HTTP Protocol Client

FTPLIB:FTP Protocol Client

131. Poplib:pop Protocol Client

IMAPLIB:IMAP4 Protocol Client

133. NNTPLIB:NNTP Protocol Client

134. SMTPLIB:SMTP Protocol Client

135. SMTPD:SMTP Server

136. Telnetlib:telnet Client

137. uuid:rfc4122 's UUID Object

138. Socketserver: Web server framework

139. Http.server:HTTP Server

Http.cookies:HTTPCookie State Manager

141. Cookie processing for Http.cookiejar:HTTP clients

142. XMLRPC:XML-RPC Server and client modules

143. XMLRPC.CLIENT:XML-RPC Client Access

144. XMLRPC.SERVER:XML-RPC Server Basics

145. Ipaddress:ipv4/ipv6 Control Library

Multimedia

146. Audioop: Processing RAW audio data

147. AIFC: Read and write AIFF and aifc files

148. Sunau: Read and write Sun au files

149. Wave: Read and write WAV files

Chunk: Read iff large file

151. Colorsys: Conversion between color systems

IMGHDR: Specifying the image Type

153. SNDHDR: Specifying the sound file type

154. Ossaudiodev: Accessing Audio Devices compatible with OSS

Internationalization

155. GetText: Multi-lingual International service

156. Locale: International Service

Programming framework

157. Turtle:turtle Graphics Library

158. CMD: Row-based command interpreter support

159. Shlex: Simple Dictionary Analysis

TK Graphical user interface

TKINTER:TCL/TK interface

161. Tkinter.ttk:Tk Theme Controls

162. tkinter.tix:Tk Extension Controls

163. Tkinter.scrolledtext: Roller Text control

Development tools

164. Pydoc: Document generator and online Help system

165. doctest: Interactive Python example

166. UnitTest: Unit Test framework

167. Unittest.mock: Mock Object Library

168. Test:python Regression Test Package

169. Test.support:Python Test Kit

VENV: Virtual Environment construction

Debugging

171. BDB: Debug Framework

172. FAULTHANDLER:PYTHON Reverse Tracking Library

173. Pdb:python Debugger

174. Timeit: Calculation of the execution time of small segment code

175. Trace:python Execution Status tracking

Run-time

176. SYS: System-dependent parameters and functions

177. Sysconfig: Accessing Python configuration information

178. Builtins: Built-in objects

179. __MAIN__: Top-level scripting environment

Warnings: Warning control

181. Context tool for Contextlib:with status

182. ABC: Virtual base class

183. Atexit: Export processor

184. Traceback: Print or read a stack of reverse tracking

185. __FUTURE__: Future State definition

186. GC: Garbage Collection Interface

187. Inspect: Checking for surviving objects

188. Site: Site-related configuration hooks (hooks)

189. Fpectl: Floating-point exception control

Distutils: Build and install the Python module

Interpreter

191. Code: base class Interpreter

192. Codeop: Compiling Python code

Import Module

193. IMP: Accessing the internal of the import module

194. Zipimport: Importing modules from a ZIP archive

195. Pkgutil: Package Extension Tool

196. Modulefinder: Finding modules by script

197. RUNPY: Locating and executing the Python module

198. An implementation of Importlib:import

Python language

199. Parser: Accessing the Python parse tree

$. AST: Abstract Syntax tree

201. Symtable: Accessing the compiler symbol table

202. Constants in the Symbol:python parse tree

203. Constants in the Token:python parse tree

204. Keyword:python Keyword Test

205. Tokenize:python source file participle

206. Tabnany: Fuzzy indentation detection

207. Pyclbr:python Class Browsing Support

208. Py_compile: Compiling python source files

209. Compileall: Compiling python libraries by byte

The disassembler of Dis:python byte code.

211. Pickletools: Serialization Development tools

Other

212. Formatter: Universal formatted output

Windows-related

213. Msilib: Read and write Windows Installer files

214. Msvcrt:ms VC + + Runtime useful program

215. Winreg:windows Registry Access

216. Winsound:windows Sound Playback interface

UNIX-related

217. POSIX: Most commonly used POSIX calls

218. PWD: Password database

219. SPWD: Shadow password database

GRP: Group Database

221. Crypt:unix Password Verification

222. Termios:posix-style TTY control

223. TTY: Terminal control functions

224. Pty: Pseudo-terminal tools

225. Fcntl: System call FCNTL () and IOCTL ()

226. Pipes:shell Pipe Interface

227. Resource: Resources available information

228. Nis:sun's Interface for NIS

229. Syslog:unix Syslog Program Library

Sources and further studies refer to the following link: http://docs.python.org/3/library/

Python 3.x standard Module library catalog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.