Python standard library and third-party library

Source: Internet
Author: User
Tags gtk image processing library ldap text dom xml parser ftp client ftp protocol
This article lists and illustrates the Python standard library and third-party libraries as follows, for the needs of friends to reference:

Tkinter ———— Python's default GUI interface.
Tkinter is a module with the TK interface, and the Tkinter library provides an interface to the TK API, which belongs to the TCL/TK GUI tool group. TCL/TK is a writing and graphic device developed by John Ousterhout. Tcl (Tool command Language) is a macro language that simplifies the development of complex programs under the shell, and the TK Toolkit is developed with TCL to simplify the design process of the user interface. 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 are able to develop the GUI quickly. Perl, scheme and other languages also use the TK library for GUI development. Tkinter is a cross-platform that can be used under a variety of platforms.

The Python Imaging Library (PIL) ———— It provides powerful graphics processing capabilities and provides a wide range of graphics file format support, which can be converted, printed, and displayed in graphic format. Also can do some graphics effect processing, shape enlargement, reduction and rotation and so on. is a powerful tool for users to perform image processing.

PMW (Python megawidgets) It is the Super GUI component set ———— a high-level GUI component built with Tkinter module, each PMW incorporates one or more tkinter components for more useful and complex functions.

PyXML ———— the toolkit for parsing and processing XML documents in Python, the 4DOM in the package is fully compatible with the specifications of the full-text dom. It contains the following content:
Xmlproc: An XML parser that conforms to the specification.

Expat: A fast, non-validating XML parser. There are other
And his level and pyhtml PYSGML.

PyGame ———— modules for multimedia development and game software development.

The Pyopengl ———— module encapsulates the OpenGL application programming interface, which allows Python programmers to integrate 3D graphics into the program.

NumPy, Numarray, and Sage ———— Numarray is an extended library of Python, primarily used to handle fixed type arrays of any number of dimensions, simply as a matrix library. Its low-level code is written using C, so the advantage of speed is obvious. NumPy is the successor of Numarray, used to replace Numarray.

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

The MySQLdb module ———— used to connect to the MySQL database. There is also the Zmysqlda module for Zope, which allows you to connect to the MySQL database in Zope.

PyGTK ———— the GTK + library for GUI program development. GTK is the library used to implement GIMP and gnome. With it, you can fully confidently try to make Photoshop yourself.

PyQt ———— for the QT Development library. QT is the library that implements the KDE environment, consisting of a series of modules, QT, Qtcanvas, QTGL, Qtnetwork, Qtsql, qttable, Qtui and Qtxml, containing 300 classes and more than 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 offers a rich and simple interface for multimedia processing (WAV, MP3, OGG, AVI, DivX, DVD, Cdda etc). Can be used under Windows and Linux platforms.

Psyco ———— A code accelerator that allows code to execute at the same level as the compiled language.

Python-ldap ———— provides a set of object-oriented APIs that allow easy access to the LDAP directory service in Python, based on openldap2.x.

Smtplib module ———— send e-mail.

The Ftplib module ———— defines the FTP class and some methods for client FTP programming. We can use Python to write our own FTP client program for downloading files or mirror sites. For more information on the FTP protocol, please refer to RFC959.

The Xmpppy module ———— the Jabber server with the developed XMPP protocol, and Google Talk is an IM system using the XMPP protocol. There is a xmpppy module in which the Protocol is supported. That is to say, we can communicate with the Jabber server through this module, is not very cool.

These are not described in detail, only names and features are listed

ADODB ———— ADO Database connection components
BSDDB3 ———— BerkeleyDB Connection components
CharSet ———— Code detection
SCons ———— Project Building Tools, it is very convenient to write the template.
SENDPKT ———— A development package
Setuptools ———— A set of Python package management mechanisms
Cheetah ———— build and augment any kind of text-based content
Pycurl ———— URL Processing tool
Pydot ———— drawing, Graphiz.
Pyevent ———— Event Support
Pylint ———— to cultivate good coding habits
Pylons ———— another web framework
Pypcap ———— Grab the bag.
Pysqlite2 ———— The connection components of SQLite
Python-dnet ———— Other devices that control network security
Pythonwin ———— Windows Extensions
Pywmi ———— Save a lot of effort.
Reportlab ———— python to manipulate pdf libary.
Scapy ———— Network Package build analysis framework, programmable Wireshark, interested Google "Silver Needle in the Skype"
Support for Simplejson ———— JSON
SQLAlchemy ———— SQL database connection pool
Sqlobject ———— Database Connection pool
CherryPy ———— a web framework
cTYPES ———— used to invoke the dynamic-link library
Cx-oracle ———— tools to connect to Oracle
Dbutils ———— Database Connection pool
Django ———— a web framework
DPKT ———— Raw-scoket Network programming
Docutils ———— used to write documents.
DPKT ———— packet unpacking and grouping packages
Feedparser ———— RSS Parsing
Kodos ———— Regular Expression Debugging tool
Mechanize ———— Crawler connection site commonly used
Pefile ———— Windows PE file parser
Py2exe ———— used to build a Windows executable file
Twisted ———— Big Mac's network programming framework
Winpdb ———— own program, or use other libraries to understand it.
WxPython ———— GUI Programming framework, people who are familiar with MFC will like it very much, it is the same architecture (for beginners or for users with low design requirements, the use of Boa constructor to facilitate the rapid development of WxPython)
PIL ———— Image Processing library, can open dozens of kinds of image formats, but also provides many image processing functions, such as enhancement, filtering algorithm.
Pyro ———— Implement a technology similar to Java RMI
PLY ———— Lex, YACC-based language tools
Corepy ———— Use Development to write x86 assembler
Lightcloud ———— Implementation of a distributed key-value database
Parallel Python (PP) ———— easily develop a library of SMP, cluster parallel computing

  • Related Article

    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.