Differences between revisions 1 and 28 (spanning 27 versions)
Revision 1 as of 2005-11-15 04:48:18
Size: 2798
Editor: Ismael
Comment: Creation :)
Revision 28 as of 2006-09-04 14:54:48
Size: 7118
Editor: PaulBoddie
Comment: Rearrange, reword and link to other resources.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
The intent of this page is to list the most commonly used Python modules, in hopes that it will provide useful for other programmers (especially beginners). #pragma section-numbers off
Line 3: Line 3:
Please avoid listing modules that either:
 * You have made
 * Don't have community aproval (ie: are not widely used, are regarded as "unpythonic")
= Useful Modules, Packages and Libraries =
Line 7: Line 5:
Do list modules that:
 * Get recommended often in the Tutor or comp.lang.python lists
The intent of this page is to list some of the most commonly used Python modules, in the hope that it will provide useful recommendations for other programmers (especially beginners). Remember that in addition to the listings below, there are other directories of Python modules - see PublishingPythonModules for details.
Line 10: Line 7:
Be warned that this list is subjective by its very nature. It's only intended as a helpful guide. It is not definitive in any way, nor should it discourage developers into developing their own modules. Be warned that this list is subjective by its very nature - it is only intended as a helpful guide. It is not definitive in any way, nor should it discourage developers from developing their own modules.
Line 12: Line 9:
Please provide a short description for each module. Try to put each module in the category that matchs it's "main" audience, since a module might fall into a couple of categories.

[[TableOfContents]]
=== Database ===
 * [http://sqlobject.org/ SQLObject] - Provides an object oriented way of accessing several different database systems
Line 17: Line 13:
 * [http://www.pygame.org/ PyGame] - Wrapper to the SDL library.

=== General category ===
 * [http://www.jorendorff.com/articles/python/path/ Python Path] - Wraps the functionality in the os.path module.
 * [http://www.pygame.org/ PyGame] - Principal wrapper of the SDL library.
 * See also ["GameProgramming"]. A more comprehensive list of packages can be found on the ["PythonGameLibraries"] page.
Line 23: Line 17:
 * [http://www.wxpython.org/ wxPython] - wxWidgets bindings to Python.
 * [http://pythoncard.sourceforge.net/ PythonCard] - Framework built on top of wxPython
 * PyGtk - Bindings for the cross-platform Gtk toolkit.
 * PyQt - Bindings for the cross-platform Qt framework.
 * TkInter - The traditional Python user interface toolkit.
 * WxPython - wxWidgets bindings for Python supporting PythonCard, ["Wax"] and other frameworks.
 * GUI Programming is, in many cases, a matter of taste. See a more extensive list on the GuiProgramming page.

=== HTML Forms ===
 * [http://wwwsearch.sourceforge.net/ClientForm/ ClientForm] - "ClientForm is a Python module for handling HTML forms on the client side, useful for parsing HTML forms, filling them in and returning the completed forms to the server. It developed from a port of Gisle Aas' Perl module HTML::Form, from the libwww-perl library, but the interface is not the same." - from the website.
 * [http://formencode.org/ FormEncode]
Line 29: Line 30:
=== ID3 Handling ===
 * [http://www.nedbatchelder.com/code/modules/id3reader.html ID3Reader] - "Id3reader.py is a Python module that reads ID3 metadata tags in MP3 files. It can read ID3v1, ID3v2.2, ID3v2.3, or ID3v2.4 tags. It does not write tags at all" (from site). Used in ID3Writer
 * [http://www.comfortableshoe.co.uk/cgi-bin/blosxom.cgi/Home/Python/id3Writer.comments ID3Writer] - Writes ID3 Tags for mp3s (both v1 and v2, as necessary). No Unicode support as of yet. Uses ID3Reader.
 * [http://sourceforge.net/projects/pyid3 PyID3] - ""(Appears to be inactive)""Module for manipulating ID3 informational tags in MP3 audio files. Not as good as ID3Writer, but no issues w/ genre, unlike ID3Writer.
 * [http://www.liquidx.net/pytagger/ pytagger] - tag reader and writer implemented purely in Python. Supports ID3v1, ID3v1.1, ID3v2.2, ID3v2.3 and ID3v2.4

=== Image manipulation ===
 * [http://www.pythonware.com/products/pil/ Python Imaging Library (PIL)] - Supports many file formats, and provides powerful image processing and graphics capabilities.

=== Plotting ===
 * [http://code.enthought.com/chaco/ Chaco] - Creates interactive plots
 * [http://gnuplot-py.sourceforge.net/ gnuplot.py] - Based on gnuplot
 * [http://matplotlib.sourceforge.net/ Matplotlib] - Production quality output in a wide variety of formats
 * [http://pyx.sourceforge.net/ PyX] - Postscript and PDF output, (La)TeX integration
 * [http://www.reportlab.org/ ReportLab] includes a charting package
 * [http://home.gna.org/veusz/ Veusz] - Postscritpt output with a PyQt front end

The SciPy [http://scipy.org/Topical_Software#head-b98ffdb309ccce4e4504a25ea75b5c806e4897b6 topical software] page has a longer list.
Line 31: Line 51:
 * [http://www.scipy.org/ SciPy] - Includes modules for graphics and plotting, optimization, integration, special functions, signal and image processing, genetic algorithms, ODE solvers, and others.  * [http://www.scipy.org/ SciPy] - Includes modules for graphics and plotting, optimization, integration, special functions, signal and i* mage processing, genetic algorithms, ODE solvers, and others.
 * [http://www.omegahat.org/RSPython/index.html Python Bindings for R] - R is a well known, open source (GPL 2) statistical package. RSPython provides the ability to access R from python, and vice-versa.

=== Networking ===
 * TwistedMatrix - Event-driven networking framework

=== Standard library enhancements ===
 * [http://www.jorendorff.com/articles/python/path/ Python Path] - Wraps the functionality of the os.path module and provides something more convenient.

=== Threading ===
 * [http://chrisarndt.de/en/software/python/threadpool.html ThreadPool] - Intuitive approach to threads, well-explained.
Line 34: Line 64:
 * [http://www.djangoproject.com Django] - High-level Python Web framework
Line 35: Line 66:
 * See a more complete list of topics on the ["WebProgramming"] page and frameworks on the ["WebFrameworks"] page.
Line 39: Line 71:
==== Linux ====
Line 41: Line 73:
* [http://pythonmac.org/wiki/py2app py2app] - Creates stand-alone apps (like py2exe for Mac)  * [http://pythonmac.org/wiki/py2app py2app] - Creates stand-alone apps (like py2exe for Mac)
 * [http://pyobjc.sourceforge.net PyObjC] - Bridge between the Python and Objective-C. Most important usage of this is writing Cocoa GUI applications on Mac OS X in pure Python
Line 47: Line 81:
 * [http://effbot.org/zone/element-index.htm ElementTree] - The Element type is a simple but flexible container object, designed to store hierarchical data structures, such as simplified XML infosets, in memory.  * [http://effbot.org/zone/element-index.htm ElementTree] - The Element type is a simple but flexible container object, designed to store hierarchical data structures, such as simplified XML infosets, in memory. --Note: Python 2.5 and up will have ElementTree in the Standard Library--
 * [http://uche.ogbuji.net/tech/4suite/amara/manual Amara] - Amara provides tools you can trust to conform with XML standards without losing the familiar Python feel.

== Editorial Notes ==

Please avoid listing modules where...

 * You are one of the developers (and you just want to promote your work somewhere).
 * The modules in question do not have widespread approval or usage.

If you do want to make people aware of a module, package or library (perhaps your own), consider submitting it to one or more of the directories mentioned in PublishingPythonModules, perhaps also adding it to the topic-specific part of this site (eg. WebProgramming, GuiProgramming).

Do list modules that:

 * Get recommended often in the Tutor or comp.lang.python lists

Please provide a short description for each module. Try to put each module in the category that matches its "main" audience, since a module might fall into a number of categories.

Useful Modules, Packages and Libraries

The intent of this page is to list some of the most commonly used Python modules, in the hope that it will provide useful recommendations for other programmers (especially beginners). Remember that in addition to the listings below, there are other directories of Python modules - see PublishingPythonModules for details.

Be warned that this list is subjective by its very nature - it is only intended as a helpful guide. It is not definitive in any way, nor should it discourage developers from developing their own modules.

Database

  • [http://sqlobject.org/ SQLObject] - Provides an object oriented way of accessing several different database systems

Game development

GUI

  • PyGtk - Bindings for the cross-platform Gtk toolkit.

  • PyQt - Bindings for the cross-platform Qt framework.

  • TkInter - The traditional Python user interface toolkit.

  • WxPython - wxWidgets bindings for Python supporting PythonCard, ["Wax"] and other frameworks.

  • GUI Programming is, in many cases, a matter of taste. See a more extensive list on the GuiProgramming page.

HTML Forms

HTML Parser

ID3 Handling

Image manipulation

Plotting

The SciPy [http://scipy.org/Topical_Software#head-b98ffdb309ccce4e4504a25ea75b5c806e4897b6 topical software] page has a longer list.

Scientific

  • [http://vpython.org/ Visual Python] - Offers real-time 3D output, is easily usable by novice programmers, excellent for physics.

  • [http://www.scipy.org/ SciPy] - Includes modules for graphics and plotting, optimization, integration, special functions, signal and i* mage processing, genetic algorithms, ODE solvers, and others.

  • [http://www.omegahat.org/RSPython/index.html Python Bindings for R] - R is a well known, open source (GPL 2) statistical package. RSPython provides the ability to access R from python, and vice-versa.

Networking

Standard library enhancements

Threading

Web development

Platform specific

Mac

Windows

XML Processing

Editorial Notes

Please avoid listing modules where...

  • You are one of the developers (and you just want to promote your work somewhere).
  • The modules in question do not have widespread approval or usage.

If you do want to make people aware of a module, package or library (perhaps your own), consider submitting it to one or more of the directories mentioned in PublishingPythonModules, perhaps also adding it to the topic-specific part of this site (eg. WebProgramming, GuiProgramming).

Do list modules that:

  • Get recommended often in the Tutor or comp.lang.python lists

Please provide a short description for each module. Try to put each module in the category that matches its "main" audience, since a module might fall into a number of categories.

UsefulModules (last edited 2018-08-20 14:00:38 by PySimpleGUI)

Unable to edit the page? See the FrontPage for instructions.