QFlow is a Python microframework for building modern PyQt/PySide applications with a focus on simplicity and maintainability. It provides a comprehensive set of decorators and utilities that streamline the development of desktop interfaces by abstracting away common patterns and boilerplate code.
git clone https://github.com/davidleonstr/QFlow.git
cd QFlow
pip install .pip install git+https://github.com/davidleonstr/QFlow.gitQFlow supports multiple Qt frameworks automatically. The framework is detected at runtime and the appropriate imports are used:
- PyQt5:
pip install PyQt5 - PyQt6:
pip install PyQt6 - PySide2:
pip install PySide2 - PySide6:
pip install PySide6
If you prefer to explicitly specify which Qt framework to use, you can set the QT_API environment variable:
import os
os.environ['QT_API'] = 'pyside6'
import QFlow