HOME/Articles/

popular python packages

Article Outline

In this post I'll talk about some popular Python packages. These packages are used for a variety of purposes. You can install modules (packages) with the Python package manager pip.

Desktop software

For making a desktop applications (GUI graphical interface), you can use one of these packages. You can make any desktop software you want, including all the widgets (buttons, listbox, textbox etc)

Module Description
PyQt Make modern desktop software (QT development libraries for Python), (hello world tutorial)
wxpython GUI programming framework in Python, with architecture similar to MFC
tkinter Default module for building desktop software, tkinter tutorial

qt framework

Web apps

To make a web app, you can use a web framework. Python is great for web development. You can easily deploy Python to the web.

Module Description
Django Open source web development framework that encourages rapid development and follows the MVC design
Flask A simple Web framework, simple but powerful. (course)

flask web app

Scientific computing

For scientific computing, there are all kinds of modules. If you want to do scientific computing, these are good:

Module Description
Matplotlib Use of third-party libraries like matlab implemented in Python, to draw some high-quality two-dimensional graphics mathematics
SciPy Python-based matlab implementation, aimed at achieving all the features of matlab
NumPy Python-based scientific computing third-party libraries, provides a matrix, linear algebra, Fourier transforms, etc. Solutions

matplotlib

Web scraping and others

For webpage scraping or data mining (web), there are some modules available. These modules let you grab a webpage and work with the data on that page.

Module Description
BeautifulSoup robust fault tolerance. Pages dealing with very powerful package
PyQuery like jQuery, document processing

Other packages that are useful

Module Description
MySQLdb To connect MySQL database, example
PIL Python-based image processing library, powerful, graphic file format support for a wide range of images
PyGame Python-based multimedia and game development software development module
Sh Systems Management sh lets you perform the same function execute shell commands like terminal
Pickle (cPickle) export and import Python objects
Json work with json data in python
Random generate random number
Datetime get date, hour, minute