Skip to content

davidleonstr/QFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QFlow Icon
QFlow Logo

A modern Python microframework for PyQt/PySide applications

Python 3.11+ License

PyQt5 PyQt6 PySide2 PySide6

QFlow

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.

Installation

git clone https://github.com/davidleonstr/QFlow.git
cd QFlow
pip install .
pip install git+https://github.com/davidleonstr/QFlow.git

Qt Framework Compatibility

QFlow 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