Python Common libraries

Source: Internet
Author: User

GUI graphical interface

1.wxpython

GUI programming framework under Python, similar to MFC's architecture

Download Address: http://wxpython.org/download.php

2. PyQt

QT Development library for Python

Download Address: Http://www.riverbankcomputing.com/software/pyqt/download

Web Framework

1. Django

Open source Web development framework, which encourages rapid development and follows MVC design

Download Address: http://www.djangoproject.com/

2. web2py

A small, flexible web framework, albeit simple but powerful

Download Address: http://web2py.com/

Scientific calculations

1. Matplotlib

A third-party library of class Matlab implemented in Python to draw some high-quality mathematical two-dimensional graphics

Download Address:

http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/

2. SciPy

Python-based MATLAB implementation, designed to achieve all the functions of MATLAB

Download Address: http://pypi.python.org/pypi/scipy/

3. NumPy

A third-party library of Scientific computing based on Python, providing solutions for matrices, linear algebra, Fourier transforms, etc.

Download Address: http://pypi.python.org/pypi/numpy/

Web page Processing

1. BeautifulSoup, powerful fault-tolerant function

Web-handling very powerful packages

http://www.crummy.com/software/BeautifulSoup/

2. Pyquery, working with documents like jquery on a Web page in Python

Download: https://pypi.python.org/pypi/pyquery

Document: https://pythonhosted.org/pyquery/

Other

1. MySQLdb

Used to connect to MySQL database

Download Address: http://pypi.python.org/pypi/MySQL-python/

2. PIL

The Python-based image processing library is powerful and supports a wide range of graphic file formats

Download Address: http://effbot.org/zone/pil-index.htm

3. PyGame

Python-based multimedia development and game software development module

Download Address: http://www.pygame.org/download.shtml

4. SH System Management

SH allows you to execute shell terminal commands just like executing functions

Download Address: https://pypi.python.org/pypi/sh

5. Pickle (Cpickle)

6. JSON

7. Random

8. DateTime

Special Introduction

1. Cx_freeze

Convenient and concise packaging tools, can cross the platform!

Download Address: http://cx-freeze.sourceforge.net/

2. Psyco

The performance of the script is somewhat unsatisfactory, although optimization is not difficult, but if there is a simple method, near the need to modify the source code, it is worth paying attention to. The magic of Psyco is that it only needs to invoke just two lines of code at the entrance of the code, and the performance can be increased by 40% or more, which is an instant!

If your client feels your program is a bit slow, please don't rush to optimize the code, Psyco may be able to make him change his mind immediately. Psyco is a Python JIT, there are many potential to dig, if the rest of the time to optimize your performance is not much, please immediately read its manual, there are many tricks to optimize performance easily.

These are some of the most commonly used third-party libraries

For more information, please click here: Http://pypi.python.org/pypi

Other recommendations:

http://www.zhihu.com/question/20501628

http://blog.csdn.net/sasoritattoo/article/details/9381361

  • 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.