The contents of this page should probably be merged with the PyQt page and this page made to redirect there.
PyQt is a set of Python bindings for Qt that are dual-licensed under the GPL (version 2 and 3, with additional license exceptions) and a commercial license. There is also PySide by Nokia - new alternative bindings (as of November 2009) with LGPL license that struggle to be API compatible (at least until Qt 4.6) with PyQt4.
PyQt exposes much of the functionality of Qt to Python, including:
A comprehensive set of widgets
Flexible layout managers
Standard GUI features for applications (menus, toolbars, dock windows)
- Easy communication between application components (signals and slots)
A unified painting system with transparency, anti-aliasing, OpenGL integration and SVG support
Internationalization (i18n) support and integration with the Qt Linguist translation tool
Rich text processing, display and printing facilities, including support for PDF export (Qt 4.1 and later)
- Database support (SQL) and model/view features
Threading classes, providing abstractions for threads, mutexes and semaphores
- Integrated resource handling for applications
Widget styles, including support for widget stylesheets (from Qt 4.2 onwards)
- Input/output and networking
- Qt 4.3 and later supports Secure Sockets Layer communications
A powerful, feature-rich graphics canvas (Qt 4.2 and later)
- Inter-process communication for Unix via D-Bus message buses (Qt 4.2 and later)
- Text completion and undo frameworks (Qt 4.2 and later)
- XML handling APIs, including SAX, DOM and (from Qt 4.3 onwards) a stream-oriented API
An ECMAScript interpreter with the ability to access Qt's object model
Support for Qt Designer, including facilities to add custom Python-based widgets to the standard set of Qt widgets available to user interface designers.
Support for audio and video playback.
Documentation and Learning Materials
The PyQt4 tutorial available at http://zetcode.com/tutorials/pyqt4/
The PyQt Wiki pages aim to provide tutorials and sample code for PyQt4.
The book Rapid GUI Programming with Python and Qt is PyQt4-specific and covers development with Python 2.5, PyQt4 and Qt 4.2/4.3.
Installation instructions for PyQt 4.4 on Windows with MinGW is available at http://www.saltycrane.com/blog/2007/01/how-to-install-pyqt-41-python-25-and-qt_8340/
French translation of PyQt 4 Documentation is available at http://leroybrice.free.fr/?/Python-Bindings-Tools-For-QtV