Skip to main content

The light Python GUI builder (currently based on PyQt6)

Simplifying the creation of common GUI applications

Description

q2gui is a lightweight Python GUI builder designed to simplify the creation of desktop applications using PyQt6. It provides a high-level API for building forms, menus, toolbars, tabbed interfaces, and various widgets with minimal code. Features include:

  • Dynamic menu and toolbar creation with shortcuts and icons
  • Form builder supporting labels, inputs, combo boxes, radio buttons, checkboxes, date/time pickers, and more
  • Tabbed and split layouts, frames, and groupings
  • Sheet/grid controls with customizable headers, sizes, and actions
  • Built-in support for color modes (light/dark)
  • Status bar, tool buttons, and message dialogs
  • Easy event handling and validation logic
  • Demo applications showcasing usage patterns

How to start

With PyPI package:

poetry new project_01 && cd project_01 && poetry shell
poetry add q2gui
cd project_01
python -m q2gui > example_app.py && python example_app.py

Explore sources:

git clone https://github.com/AndreiPuchko/q2gui.git
cd q2gui
pip3 install poetry
poetry shell
poetry install
python3 demo/demo_00.py     # All demo launcher
python3 demo/demo_01.py     # basic: main menu, form & widgets
python3 demo/demo_02.py     # forms and forms in form
python3 demo/demo_03.py     # grid form (CSV data), automatic creation of forms based on data
python3 demo/demo_04.py     # progressbar, data loading, sorting and filtering
python3 demo/demo_05.py     # nonmodal form
python3 demo/demo_06.py     # code editor
python3 demo/demo_07.py     # database app (4 tables, mock data loading) - requires a q2db package
python3 demo/demo_08.py     # database app, requires a q2db package, autoschema

demo/demo_07.py screenshot

======= Alt text

Build standalone executable

(The resulting executable file will appear in the folder dist/)

One file

pyinstaller -F demo/demo.py

One directory

pyinstaller -D demo/demo.py

Metadata

Release files for q2gui 0.1.234

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for q2gui 0.1.234
File Size Uploaded
q2gui-0.1.234.tar.gz 100.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for q2gui 0.1.234
File Interpreter ABI Platform
q2gui-0.1.234-py3-none-any.whl Python 3 none any Details

Total release size: 236.9 kB

Release files / q2gui-0.1.234.tar.gz

Download URL q2gui-0.1.234.tar.gz
Size 100.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6130624031887a87e70546c6b9589ee9e11f6dd0d5398ba4e1702560c0df2da3
BLAKE2b-256 checksum
How to use checksums
aa189e9bc2807c0cac1c0238b33f2535fe05d3014ccf776953e6ced6789108a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.11.7 Windows/10

Release files / q2gui-0.1.234-py3-none-any.whl

Download URL q2gui-0.1.234-py3-none-any.whl
Size 136.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1b937270e1b3376489a7ec4a5c05735ffd038be8a2af1a7b6e4e6bceca5a062
BLAKE2b-256 checksum
How to use checksums
7a54d4429816c3eabf3353e633717503650dfd3e8a89a3fd79c228f7334351f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.11.7 Windows/10

Release history Release notifications | RSS feed

This release

0.1.234 This release

2 release files

0.1.222

1 release file

0.1.136

1 release file

0.1.95

2 release files

0.1.94

2 release files

0.1.93

2 release files

0.1.92

2 release files

0.1.91

2 release files

0.1.90

2 release files

0.1.88

2 release files

0.1.87

2 release files

0.1.86

2 release files

0.1.83

2 release files

0.1.82

2 release files

0.1.80

2 release files

0.1.79

2 release files

0.1.78

2 release files

0.1.77

2 release files

0.1.76

2 release files

0.1.75

2 release files

0.1.72

2 release files

0.1.71

2 release files

0.1.70

2 release files

0.1.69

2 release files

0.1.68

2 release files

0.1.67

2 release files

0.1.66

2 release files

0.1.65

2 release files

0.1.60

2 release files

0.1.59

2 release files

0.1.58

2 release files

0.1.57

2 release files

0.1.52

2 release files

0.1.51

2 release files

0.1.50

2 release files

0.1.49

2 release files

0.1.48

2 release files

0.1.47

2 release files

0.1.46

2 release files

0.1.45

2 release files

0.1.44

2 release files

0.1.43

2 release files

0.1.42

2 release files

0.1.41

2 release files

0.1.40

2 release files

0.1.39

2 release files

0.1.38

2 release files

0.1.37

2 release files

0.1.36

2 release files

0.1.35

2 release files

0.1.34

2 release files

0.1.33

2 release files

0.1.32

2 release files

0.1.31

2 release files

0.1.30

2 release files

0.1.29

2 release files

0.1.28

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page