Python: 50 modules for all needs

by Jean.

One thing I really love with the Python programming language is its incredible extensibility. Here’s a list of 50 awesome modules for Python, covering almost all needs: Databases, GUIs, Images, Sound, OS interaction, Web, and more.

Graphical interfacewxPythonhttp://wxpython.org
Graphical interfacepyGtkhttp://www.pygtk.org
Graphical interfacepyQThttp://www.riverbankcomputing.co.uk/pyqt/
Graphical interfacePmwhttp://pmw.sourceforge.net/
Graphical interfaceTkinter 3000http://effbot.org/zone/wck.htm
Graphical interfaceTixhttp://tix.sourceforge.net/
DatabaseMySQLdbhttp://sourceforge.net/projects/mysql-python
DatabasePyGreSQLhttp://www.pygresql.org/
DatabaseGadflyhttp://gadfly.sourceforge.net/
DatabaseSQLAlchemyhttp://www.sqlalchemy.org/
Databasepsycopghttp://www.initd.org/pub/software/psycopg/
Databasekinterbasdbhttp://kinterbasdb.sourceforge.net/
Databasecx_Oraclehttp://www.cxtools.net/default.aspx?nav=downloads
DatabasepySQLitehttp://initd.org/tracker/pysqlite
MSN Messengermsnlibhttp://auriga.wearlab.de/~alb/msnlib/
MSN Messengerpymsnhttp://telepathy.freedesktop.org/wiki/Pymsn
MSN Messengermsnphttp://msnp.sourceforge.net/
NetworkTwistedhttp://twistedmatrix.com/
ImagesPILhttp://www.pythonware.com/products/pil/
Imagesgdmodulehttp://newcenturycomputers.net/projects/gdmodule.html
ImagesVideoCapturehttp://videocapture.sourceforge.net/
Sciences and Mathsscipyhttp://www.scipy.org/
Sciences and MathsNumPyhttp://numpy.scipy.org//
Sciences and Mathsnumarrayhttp://www.stsci.edu/resources/software_hardware/numarray
Sciences and Mathsmatplotlibhttp://matplotlib.sourceforge.net/
GamesPygamehttp://www.pygame.org/news.html
GamesPyglethttp://www.pyglet.org/
GamesPySoyhttp://www.pysoy.org/
GamespyOpenGLhttp://pyopengl.sourceforge.net/
Jabberjabberpyhttp://jabberpy.sourceforge.net/
Webscrapehttp://zesty.ca/python/scrape.html
WebBeautiful Souphttp://crummy.com/software/BeautifulSoup
Webpythonwebhttp://www.pythonweb.org/
Webmechanizehttp://wwwsearch.sourceforge.net/mechanize/
Localisationgeoname.pyhttp://www.zindep.com/blog-zindep/Geoname-python/
Serial portpySerialhttp://pyserial.sourceforge.net/
Serial portUSPPhttp://ibarona.googlepages.com/uspp
Parallel PortpyParallelhttp://pyserial.sourceforge.net/pyparallel.html
USB PortpyUSBhttp://bleyer.org/pyusb/
Windowsctypeshttp://starship.python.net/crew/theller/ctypes/
Windowspywin32http://sourceforge.net/projects/pywin32/
Windowspywinautohttp://www.openqa.org/pywinauto/
Windowspyrtfhttp://pyrtf.sourceforge.net/
Windowswmihttp://timgolden.me.uk/python/wmi.html
PDA/GSM/Mobilespymohttp://www.awaretek.com/pymo.html
PDA/GSM/MobilespyS60http://sourceforge.net/projects/pys60
SoundpySoundichttp://pysonic.sourceforge.net/
SoundpyMediahttp://pymedia.org/
SoundFMODhttp://www.fmod.org/
SoundpyMIDIhttp://www.cs.unc.edu/Research/assist/developer.shtml
GMaillibgmailhttp://libgmail.sourceforge.net/
GooglepyGooglehttp://pygoogle.sourceforge.net/
ExpectpyExpecthttp://pexpect.sourceforge.net/
WordNetpyWordNethttp://osteele.com/projects/pywordnet/
Command linecmdhttp://blog.doughellmann.com/2008/05/pymotw-cmd.html
Compiler backendllvm-pyhttp://mdevan.nfshost.com/llvm-py/
3DVPythonhttp://vpython.org

Any other modules we should include in the list? Leave us a comment!
Into Python? Be sure to check out this article!

CWC Special Deal!

Get one year of quality hosting + domain from A Small Orange for only $40 with our exclusive deal!

Featured WordPress Theme

Bridge - Creative Multi purpose WordPress theme

  • http://love-python.blogspot.com/ subeen

    Thanks for the list. It’s an useful one.

  • Federico

    Cool thanks!

  • Pingback: Web 2.0 Announcer()

  • http://code.google.com/p/crunchy André Roberge

    A great game module is pyglet (http://www.pyglet.org).

    Instead of Soya (which gives a 404), you should probably list PySoy (http://www.pysoy.org/).

  • http://www.lyxia.org jbj

    @André: Thanks for your contribution! Both modules has been added to the list :)

  • anom

    Good list.
    sqlalchemy is pretty good.
    http://www.sqlalchemy.org/

  • http://www.lyxia.org jbj

    Added! Thanks for contributing!

  • JW

    Missing a compiler backend 😉

    http://mdevan.nfshost.com/llvm-py/

  • Ernesto Sanchez

    Awesome list. Thanks for sharing!

  • http://divmod.org/ Allen Short

    Also, for network applications, there’s Twisted. http://twistedmatrix.com/

  • http://www.lyxia.org jbj

    @JW & Allen Short: Both added :)

  • jinzo

    Looks like you missed pymsn for MSN stuff, looks like it supports newer MSN protocols 😉

  • http://ooyes.net web design company

    How can it not have [BeautifulSoup](http://crummy.com/software/BeautifulSoup) on it?

  • http://www.luke.maurits.id.au Luke Maurits

    Vpython (http://vpython.org/) has a very nice “visual” module for simple 3D programming in Python.

  • http://www.lyxia.org jbj

    Post updated with the three last contributions. Thanks!

  • Pingback: 50 módulos Python para todas las necesidades()

  • Greg

    Jeepers, haven’t you pythonistas gotten round to doing something like CPAN? Doesn’t all this grubbing for one module here, another module there hearken back to, I dunno, the days of FORTRAN?

  • http://echohelloworld.com Jasper

    Oooh, useful. Thanks!

  • Pingback: Web 2.0 Announcer()

  • projecktzero

    “Jeepers, haven’t you pythonistas gotten round to doing something like CPAN? Doesn’t all this grubbing for one module here, another module there hearken back to, I dunno, the days of FORTRAN?”

    I haven’t checked, but I suspect that the vast majority of these modules are on.
    http://pypi.python.org/pypi

  • unlimitedzoom

    Djnago? Django!

  • Pingback: Global Nerdy | 50 Python Modules for all Needs()

  • http://wiki.saymoo.org alon

    construct – parser/generator for protocols, declarative style. Used it for a number of protocols, much more fun then writing parsers by hand: http://construct.wikispaces.com/
    also ipython – not technically a library, but can be used as one (embed a shell in an app for debugging purposes).

  • Pingback: links for 2008-06-16 « 個人的な雑記()

  • Pingback: A List of 50 Awesome Python Modules « Linux and Friends()

  • Pingback: links for 2008-06-17 « Mandarine()

  • visit now

    It’s a great website of yours. I surfed by and found it very informative. Bookmarked and check you back in a while

  • Pingback: links for 2008-06-19 | Databyss.com()

  • Pingback: Web 2.0 Announcer()

  • Pingback: Tims Blog » Blog Archive » Yup()

  • Pingback: Retour d’expérience: Les digg likes anglophones()

  • Pingback: A New Day Has Come » Blog Archive » 50 modules for all needs()

  • http://www.techiesouls.com MOin

    Thats looking like an ultimate list of useful modules and i am looking into the games some of them i never heard about. thanks for compiling some huge useful list JBJ.

  • http://python.su Alexey Afinogenov

    Thanks for the nice list.

  • Pingback: 50 Python modules « Bloguear por bloguear…()

  • Jon

    For “games,” I’d suggest Panda3D, which is more than a single module, but also does a lot more than the other modules listed. (Pirates of the Caribbean is written in Panda3D)

  • Pingback: Всё для Python()

  • Pingback: Python: 50个能够满足所有需要的模块 | 5U Magazine()

  • ezpython

    Please include decimal module.

  • Pingback: Sérgio Luiz Araújo Silva (voyeg3r) 's status on Thursday, 05-Nov-09 13:51:38 UTC - Identi.ca()

  • Pingback: Should you write “List posts” on your blog?()

  • http://www.stealthcopter.com/blog Matthew

    Nice list, thanks. I think it’d be useful to include mpi4py too. :)
    http://code.google.com/p/mpi4py/

  • Tim

    py2exe- turns your code into a cool .exe

  • http://countergram.com/ Jason S

    Neat list. Not every module might be to everyone’s taste (3 for MSN messenger interoperability? Really?) but it’s a good idea to show off some top modules. I’d add M2Crypto, which is an OpenSSL wrapper and a great all-round encryption library.

    And yes, most (nearly all) important Python packages live on PyPi and can be installed with pip (or easy_install, part of setuptools). Python actually has pretty good package management, once you look into the capabilities of pip and virtualenv (cleanroom package deployment.)

    I’d say add them to the list too, but they’re more utilities than modules.

  • http://pythonprojectwatch.blogspot.com/ Casey Strouse

    I have found a lot of really awesome libraries through Google Code. I’ve been compiling a list and posting about my favorite libraries on my website.

    Two of my favorites so far are gdata-python-client and yql, for working with the Google APIss and Yahoo Query Language, respectively.

  • Julius

    Thanks guys this is great, it would also work better if all the modules are compacted into one exe file. thanks

  • http://thyagjs.blogspot.in/ Thyag Sundaramoorthy

    Pandas is another great library for data analysis:
    http://pandas.pydata.org/