Skip to main content

pyqtrapid

License Python Version

A modern CLI scaffolding tool and architecture boilerplate generator for PyQt6, PySide6, and PyQt5 applications.

pyqtrapid empowers Python developers to launch clean, scalable desktop GUI applications in seconds using proven software design patterns (MVP/MVVM), modern dark themes, built-in resource management, and test suites out of the box.


🚀 Features

  • Multi-Binding Support: Seamlessly scaffold projects targeting PyQt6, PySide6 (Qt for Python 6), or legacy PyQt5.
  • Clean Architecture (MVP): Enforces Model-View-Presenter architecture out of the box to separate UI layouts from domain logic and state.
  • Dynamic Jinja2 Scaffolding: Fast, customizable template engine generating modern package configurations (pyproject.toml).
  • Included Dark Theme: Comes pre-configured with a sleek modern QSS dark theme stylesheet.
  • Built-in Test Suite: Pre-configured pytest suite for testing domain models without Qt UI dependencies.

📦 Installation

Install pyqtrapid via pip:

pip install pyqtrapid

Or install locally in editable mode:

pip install -e .

⚡ Quick Start

1. Scaffold a New Project

To create a new project using the default PyQt6 binding:

pyqtrapid startproject my_app

2. Choose Your Qt Binding

Specify your preferred Qt Python binding (pyqt6, pyside6, or pyqt5):

# Target PySide6 (Official Qt for Python 6)
pyqtrapid startproject my_app --binding pyside6

# Target PyQt5
pyqtrapid startproject my_app --binding pyqt5

3. Run Your Scaffolded Application

cd my_app
pip install -e .
python main.py

🏗️ Generated Architecture

pyqtrapid scaffolds projects structured for long-term scalability and clean maintenance:

my_app/
├── main.py                   # Entry point (QApplication & window runner)
├── pyproject.toml            # Project dependencies and pytest settings
├── src/
│   ├── app.py                # Component wiring & factory function
│   ├── models/               # Pure Python domain state & models
│   ├── views/                # Qt Widgets & visual layouts
│   ├── presenters/           # Presentation logic connecting Views & Models
│   └── resources/            # QSS stylesheets, icons & static assets
├── ui/                       # Qt Designer .ui files
└── tests/                    # Unit tests (pytest)

👤 Author

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqtrapid-0.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyqtrapid-0.1.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file pyqtrapid-0.1.0.tar.gz.

File metadata

  • Download URL: pyqtrapid-0.1.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.8

File hashes

Hashes for pyqtrapid-0.1.0.tar.gz
Algorithm Hash digest
SHA256 64966c81edcd3df474035e1f78d0a3d9141da5824ef82bd2e6f8f4bb10d7d660
MD5 500c335ada8ecc5dc211938bf45a2c51
BLAKE2b-256 0c45497ed001fa739dfe39ef951ddb33c0ee2243bb885e128e13a464be5b9c63

See more details on using hashes here.

File details

Details for the file pyqtrapid-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyqtrapid-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.8

File hashes

Hashes for pyqtrapid-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b035309c4abe73507918733b74fadfd1bc35157b7dbcd6108c722cc926036f15
MD5 cfbb94dd3d904bb33b0e15a54e9f7c98
BLAKE2b-256 2c904ee6ece77180631a1a77cb5903b5ecec7dd4ca4b4eb7231e6ce927e0942e

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.0

2 files

This release

0.1.0 This release

2 files

0.0.1

2 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