Python standard library and third party library details

  • 2020-04-02 13:52:56
  • OfStack

This article lists and explains Python's standard library and third-party library in detail as follows for the reference of those in need:

Tkinter -- Python's default graphical interface.
Tkinter is a module that interfaces with Tk. The Tkinter library provides an interface to the Tk API, which belongs to the Tcl/Tk GUI toolset. Tcl/Tk is a writing and graphics device developed by John Ousterhout. Tcl(tool command language) is a macro language designed to simplify the development of complex programs under the shell. The Tk toolkit was developed with Tcl to simplify the design of user interfaces. The Tk toolkit consists of many different widgets, such as a button, a scroll bar, and so on. With these widgets provided by Tk, we can quickly develop the GUI. Perl, Scheme and other languages also use Tk library for GUI development. Tkinter is cross-platform and works on all platforms.

The Python Imaging Library (PIL) -- - it provides a powerful graphics processing ability, and provide a wide range of graphics file format support, can the Library for graphical format conversion, print and display. Can also carry out some graphics effect processing, such as graphics zoom in, zoom out and rotate. It is a powerful tool for image processing.

Pmw(Python megawidgets) it is a collection of super GUI components -- advanced GUI components built using the Tkinter module, each of which incorporates one or more Tkinter components to achieve more useful and complex functionality.

PyXML -- a toolkit for parsing and processing XML documents in Python, the 4DOM in the package is fully compliant with the W3C DOM specification. It contains the following:
Xmlproc: a compliant XML parser.

Expat: a fast, non-validating XML parser. There are other
There's also PyHtml PySGML at his level

PyGame -- a module for multimedia development and game software development.

PyOpenGL -- the module encapsulates the "OpenGL application programming interface," which allows python programmers to integrate 2D and 3D graphics into their programs.

NumPy, NumArray, and SAGE -- NumArray is an extension library of Python for dealing with fixed-type arrays of arbitrary dimensions. Its low-level code is written in C, so the advantage of speed is obvious. NumPy is a successor to Numarray to replace Numarray.

SAGE is a mathematical package based on NumPy and several other tools, with the goal of replacing tools like Magma, Maple, Mathematica, and Matlab.

MySQLdb module -- used to connect to MySQL database. There is also the ZMySQLDA module for zope, which connects to the mysql database in zope.

PyGTK -- GTK+ library for GUI program development. GTK is the library that implements GIMP and Gnome. With it, you can confidently try to make your own Photoshop

PyQt -- -- for Qt development libraries. QT is the library that implements the KDE environment. It is composed of a series of modules, including QT, qtcanvas, QTGL, qtnetwork, QTSQL, qttable, qtui and QTXML, containing 300 classes and over 5,750 functions and methods. PyQt also supports a module called qtext, which contains a QScintilla library. The library is the Qt interface for the Scintillar editor class.

PyMedia -- a python module for multimedia operations. It provides rich and simple interfaces for multimedia processing (wav, mp3, ogg, avi, divx, DVD, cdda etc.). Available on Windows and Linux platforms.

Psyco -- a code accelerator that allows code to execute as fast as a compiled language.

Python-ldap -- provides a set of object-oriented apis for easy access to the ldap directory service in Python, which is based on openldap2.x.

Smtplib module -- send email.

Ftplib module -- defines FTP classes and methods for client FTP programming. We can write our own FTP client program in python to download files or mirror sites. For more details on the FTP protocol, please refer to RFC959.

Xmpppy module -- Jabber server adopts the developed XMPP protocol, and Google Talk is also an IM system using the XMPP protocol. There is an xmpppy module in support of this protocol. That is, we can communicate with the Jabber server through this module, isn't that Cool?

I won't go into details here, just list the names and functions

Adodb -- ADO database connection component
Bsddb3 -- the connection component of BerkeleyDB
Charset -- code detection
Scons - - project building tools, written template is very convenient to use
Sendpkt -- a development kit
Setuptools -- a python package management mechanism
Cheetah -- builds and extends any kind of text-based content
Pycurl -- -- URL handling tool
Pydot -- -- drawing, graphiz
Pyevent -- -- event support
Pylint -- develop good coding habits
Pylons -- another web framework
Pypcap -- -- bag grab
Pysqlite2 -- -- connection component for SQLite
Python-dnet -- other devices that control network security
Pythonwin -- Windows extension
Pywmi -- saves a lot of writhing
Reportlab -- -- Libary for Python operations PDF.
Scapy -- network package build analysis framework, programmable wireshark, Google "Silver Needle in the Skype" of interest
Simplejson -- -- JSON support
Sqlalchemy -- -- SQL database connection pool
SQLObject -- -- database connection pool
Cherrypy -- a WEB framework
Ctypes -- to call the dynamic linking library
Cx-oracle -- a tool to connect oracle
DBUtils -- database connection pool
Django -- a WEB framework
DPKT -- raw- ket network programming
Docutils -- -- for writing documents
DPKT -- the unpacking and grouping of packets
Feedparser -- -- RSS parsing
Kodos -- regular expression debugging tool
Mechanize - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Pefile -- Windows PE file parser
Py2exe -- -- used to generate Windows executables
Twisted -- big MAC's network programming framework
Winpdb - - their own procedures or use other libraries do not quite understand when relying on it
WxPython -- GUI programming framework, which will be appreciated by those familiar with MFC, is the same architecture (for beginners or users with less design requirements, use Boa                 Constructor for rapid wxPython development
PIL -- image processing library, can open dozens of image formats, but also provides many image processing functions, such as image enhancement, filtering algorithm.
Pyro -- -- implements a technology similar to JAVA RMI
PLY -- a language tool based on LEX and YACC
Corepy -- write x86 assembler using development
LightCloud -- a distributed key-value database implemented
Parallel Python (PP) -- easy to develop SMP, clustered Parallel computing libraries


Related articles: