Developer(s) | Riverbank Computing |
---|---|
Stable release |
5.8 / February 15, 2017
|
Written in | C++ / Python |
Operating system | Cross-platform |
License | GNU GPL and commercial |
Website | riverbankcomputing.com |
PyQt is a Python binding of the cross-platform GUI toolkit Qt. It is one of Python's options for GUI programming. Popular alternatives are PySide (the Qt binding with official support and a more liberal license), PyGTK, wxPython, and Tkinter (which is bundled with Python). Like Qt, PyQt is free software. PyQt is implemented as a Python plug-in.
PyQt is developed by the British firm Riverbank Computing. It is available under similar terms to Qt versions older than 4.5; this means a variety of licenses including GNU General Public License (GPL) and commercial license, but not the GNU Lesser General Public License (LGPL). PyQt supports Microsoft Windows as well as various flavours of Unix, including Linux and macOS.
PyQt implements around 440 classes and over 6,000 functions and methods including:
To automatically generate these bindings, Phil Thompson developed the tool SIP, which is also used in other projects.
In August 2009, Nokia, the then owners of the Qt toolkit, released PySide, providing similar functionality, but under the LGPL, after failing to reach an agreement with Riverbank Computing to change its licensing terms to include LGPL as an alternative license.
PyQt4 contains the following Python modules.
PyQt version 4 works with both Qt 4 and Qt 5. PyQt version 5 only supports Qt version 5, and drops support for features that are deprecated in Qt 5.