Lightweight framework based on PySide6 to quickly build modern desktop applications, with integrated resource, theme, and reusable component management.
Project description
EzQt-App
Description
EzQt-App is a Python framework designed to make it easy to create modern Qt applications, based on a template by Wanderson M. Pimenta. It automates resource management, generates all required files, and offers a fast project bootstrap experience with a CLI command.
Features
- Automatic generation of asset folders and files (icons, images, themes, etc.)
- Dynamic themes (light/dark) with integrated toggle
- CLI command
ezqt_initto quickly initialize a new project - Ready-to-use
main.pyexample generated automatically - Modular and extensible structure
Installation
Install the module via pip (recommended):
pip install ezqt_app
Or locally:
git clone https://github.com/neuraaak/ezqt_app.git
cd ezqt_app
pip install .
Dependencies
Main dependencies are installed automatically:
- PySide6
- PyYaml
- colorama
Project Initialization
After installation, initialize a new project in an empty folder with:
ezqt_init
This command creates the base structure, resource folders, and a sample main.py file.
Minimal Usage Example
import ezqt_app.main as ezqt
from ezqt_app.app import EzQt_App, EzApplication
import sys
ezqt.init()
app = EzApplication(sys.argv)
window = EzQt_App(themeFileName="main_theme.qss")
window.show()
app.exec()
Generated Project Structure
my_project/
main.py
bin/
config/
fonts/
icons/
images/
themes/
modules/
Customization
- Edit the theme in
bin/themes/main_theme.qssor use the toggle in the UI. - Add your own icons/images in the corresponding folders.
FAQ
- main.py already exists?: The CLI will ask for confirmation before overwriting.
- pyside6-rcc error?: Make sure PySide6 is installed and available in your PATH.
Contribution
Contributions are welcome! Submit your ideas, fixes, or extensions via issues or pull requests.
License & Credits
MIT License
This project is inspired by the template of Wanderson M. Pimenta. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ezqt_app-2.2.1.tar.gz.
File metadata
- Download URL: ezqt_app-2.2.1.tar.gz
- Upload date:
- Size: 901.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9c6a49fe5479646e18080e457b59c41deaa67a2e35022170a6b737262da10c3
|
|
| MD5 |
0260b6bb7b4f1ba1042c1fa37fe47dc4
|
|
| BLAKE2b-256 |
b6e5ad9f567be88eb802422c424e2b6dfc721da0a636494823589279f8042ff9
|
File details
Details for the file ezqt_app-2.2.1-py3-none-any.whl.
File metadata
- Download URL: ezqt_app-2.2.1-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a4b19b4850ce3be349b49f3360c8a9a07ef6aab59059d0b7d73e84c4f2dae7e
|
|
| MD5 |
fd7136ef52b1852a535b173a20bce46b
|
|
| BLAKE2b-256 |
9597a370eb5da828e8505fe4728278a740534d24822044cad65199d640f83c0f
|