PySide

PySide
Developer(s) Openbossa
Stable release 1.0.9 / November 29, 2011; 2 months ago (2011-11-29)
Written in Python
Operating system Cross-platform
License LGPL
Website www.pyside.org

PySide is a Python binding of the cross-platform GUI toolkit Qt. It is one of the alternatives for GUI programming in Python to Tkinter, which is bundled with Python. Other popular alternatives are PyGTK, PyQt and wxPython. Like Qt, PySide is free software. The project started out using Boost.Python from the Boost C++ Libraries for the bindings and later switched to the binding generator Shiboken[1] to reduce the size of the binaries and the memory footprint.

PySide was released under the LGPL in August 2009 by Nokia[2], the current owners of the Qt toolkit, after Nokia failed to reach an agreement with PyQt developers Riverbank Computing[3] to change its licensing terms to include LGPL as an alternative license.

PySide supports Linux/X11, Mac OS X, MeeGo, Windows and Maemo.

Hello world example

import sys
from PySide import QtCore, QtGui
 
app = QtGui.QApplication(sys.argv)
 
win = QtGui.QWidget()
 
win.resize(320, 240)  
win.setWindowTitle("Hello, World!") 
win.show()  
 
sys.exit(app.exec_())

References

External links