Home > Article > Backend Development > Python commonly used libraries
GUI graphical interface
1.wxpython
The GUI programming framework under Python is similar to the architecture of MFC
Download address: http://wxpython.org/download.php
2. PyQt
for Python QT development library
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 and flexible Web framework, simple but powerful
Download address: http://web2py.com/
Scientific computing
1. Matplotlib
A matlab-like third-party library implemented in Python, used to draw some high-quality mathematical two-dimensional graphics
Download address:
http://sourceforge.net/projects/matplotlib/files/matplotlib /matplotlib-1.1.0/
2. SciPy
A matlab implementation based on Python, designed to realize all the functions of matlab
Download address: http://pypi.python.org/pypi/scipy/
3. NumPy
A third-party library for scientific computing based on Python, providing solutions for matrices, linear algebra, Fourier transform, etc.
Download address: http://pypi.python.org/pypi/numpy/
Web page processing
1. BeautifulSoup, powerful fault-tolerant function
A very powerful package for web page processing
http://www.crummy.com/software/BeautifulSoup/
2. PyQuery, which processes documents in Python like jQuery on web pages
Download: https://pypi.python.org/pypi/pyquery
Documentation: https://pythonhosted.org/pyquery/
Others
1. MySQLdb
used to connect to MySQL database
Download Address: http://pypi.python.org/pypi/MySQL-python/
2. PIL
An image processing library based on Python, with powerful functions and wide support for 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 like 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 simple packaging tool, cross-platform!
Download address: http://cx-freeze.sourceforge.net/
2. The execution efficiency of the psyco
script is somewhat unsatisfactory. Although it is not difficult to optimize, if there is a simple method, there is almost no need to modify the source. code, it's certainly worth paying attention to. The magic of psyco is that it only needs to call just two lines of code at the entrance of the code, and the performance can be improved by 40% or more. It can be said to be an immediate effect!
If your customer thinks your program is a bit slow, please don't rush to optimize the code. psyco may make him change his mind immediately. psyco can be called Python's JIT. It has a lot of potential that can be tapped. If there is not much time left for you to optimize performance, please read its manual immediately. There are many tricks to easily optimize performance.
The above are some commonly used third-party libraries
For more information, please click: http://pypi.python.org/pypi
Other recommendations:
http://www.zhihu.com/ question/20501628
http://blog.csdn.net/sasoritattoo/article/details/9381361