tags:

views:

379

answers:

5

In .Net you have companies like DevEpxress, and Infragistics that offer a range of GUI widgets. Is there any market like that for Python GUI widgets? I'm thinking specifically about widgets like the DevExpress xtraGrid Suite.

Edit 01-16-09: For Example:

http://www.devexpress.com/Downloads/NET/OnlineDemos.xml http://demos.devexpress.com/ASPxGridViewDemos/

http://www.infragistics.com/products/default.aspx

A: 

Heaps of GUI apis are available. PyQT, PtGTK, Tkinter...

-T

+1  A: 

The popular Python GUI toolkits are usually wrappers around external (usually C, C++) libraries. So whatever 3rd party products those external libraries have, Python code can benefit (by minimal manual wrapping even in case the 3rd party solution does not provide Python wrappers by default).

utku_karatas
+7  A: 

There are a number of GUI Toolkits available for Python. Obviously, the toolkit you choose will determine your selection of 3rd party widgets.

The Contenders

Python comes with Tkinter which is easy to use, but not great looking.

There are some very popular cross platform GUI toolkits borrowed from C/C++ that have a lot of external widgets: wxPython, pyQt, pyFLTK, pyGtk

I also know of, but have not used some of the other toolkits that are out there: PyGUI, Easygui, PythonCard

My Choice

I'm a fan of wxPython. They have a nice selection of widgets, some great examples that come with the install, good documentation, a book, and an active community.

WxWidgets has additional components offered by the community called wxCode.

Quote about wxPython from the creator of Python:

wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard Python GUI toolkit is that Tkinter was there first.

-- Guido van Rossum

John Mulder
PyGTK should be in the list of C/C++ toolkits.
Ali A
+1  A: 

wxPython is a wrapper around wxWidgets, LGPL (approximately) and very comprehensive
pyQT is a similair wrapper around QT, it's available as GPL or commercial

Although QT is now under the LGPL pyQT is a separate commercial product, it may be that they now release it under the LGPL or a community effort might now produce a LGPL alternative.

Both run on MS/Linux/Mac and are pretty comprehensive, there are excellent communities and books for both.

Martin Beckett
Actually, wxWidgets licensing is more liberal that LGPL, it adds an exception for linking your binary without the restrictions the LGPL invoke - http://www.wxwidgets.org/about/newlicen.htm
Evan
Qt version 4.5 (to be release around March 2009) will also be licensed under the LGPL v2.1 - http://www.qtsoftware.com/about/licensing/nokia-adds-lgpl-to-qt-licensing-model
Evan
Evan: Qt will be LGPL, but PyQt has its own license. It hasn't yet been determined if PyQt will be licensed LGPL for Qt 4.5
Branan
A: 

There's also wxPython, which is a wrapper around wxWidgets which is quite popular, works on many platforms and liberally licensed.

QT would probably be the other one I would look at, especially now that the next release will be licensed under the LGPL.

Evan