Common python libraries

Source: Internet
Author: User
Tags image processing library web2py
Common python libraries

GUI

1. wxpython

The GUI programming framework in Python is similar to that in MFC.

: Http://wxpython.org/download.php

2. PyQt

QT development library for Python

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

Web framework

1. Django

Open-source web development framework, which encourages rapid development and follows the MVC design

: Http://www.djangoproject.com/

2. web2py

A small and flexible Web framework, simple but powerful

: Http://web2py.com/

Scientific computing

1. Matplotlib

Third-party libraries of matlab-like implementation using Python, used to draw some high-quality two-dimensional mathematical graphics

:

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

2. SciPy

Python-based matlab implementation, designed to implement all functions of matlab

: Http://pypi.python.org/pypi/scipy/

3. NumPy

Python-based third-party library for scientific computing provides solutions for matrices, linear algebra, Fourier transformation, and so on.

: Http://pypi.python.org/pypi/numpy/

Webpage processing

1. BeautifulSoup, powerful fault tolerance function

Powerful Web page processing package

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

2. PyQuery: process documents like jQuery on a webpage in Python.

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

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

Others

1. MySQLdb

Used to connect to the MySQL database

: Http://pypi.python.org/pypi/MySQL-python/

2. PIL

Python-based image processing library with powerful functions and extensive support for graphic file formats

: Http://effbot.org/zone/pil-index.htm

3. PyGame

Python-based multimedia development and game software development modules

: Http://www.pygame.org/download.shtml

4. sh system management

Sh allows you to execute shell terminal commands like executing functions

: 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, cross-platform!

: Http://cx-freeze.sourceforge.net/

2. psyco

The execution efficiency of the script is somewhat unsatisfactory. although optimization is not difficult, it is worth noting if there is a simple method that almost does not need to modify the source code. The magic of psyco is that it only needs to call two lines of code at the entrance of the code, and the performance can be improved by 40% or more, which is truly immediate!

If your customer thinks your program is a little slow, don't rush to optimize the code. psyco may let him change his mind immediately. Psyco is called the Python jit and has a lot of potential to explore. if there is not much time to optimize the performance for you, please read its manual immediately. There are many ways to easily optimize the performance.

These are common third-party libraries.

More click: 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.