Overview
PySide is the official set of Python bindings for Qt libraries, developed by The Qt Company. It provides support for Windows, Linux, and macOS, and enables rapid development of software with Python, offering the same comprehensive APIs as Qt.
Key features
- Full access to Qt libraries
- API compatibility with PyQt
- Similar licensing terms to Qt
- Qt WebEngine for web integration
- Rich documentation and community support
Common use cases
- Multi-platform applications
- Commercial and licensing-friendly projects
- Utility tools and desktop software
- Real-time simulations and visualizations
- Creative and multimedia applications
Installation
pip install PySide6
Example
from PySide6.QtWidgets import QApplication, QLabel, QWidget
import sys
app = QApplication(sys.argv)
window = QWidget()
window.setWindowTitle("Hello PySide")
label = QLabel("Hello, World!", parent=window)
window.show()
sys.exit(app.exec())