Skip to main content

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_init to quickly initialize a new project
  • Ready-to-use main.py example 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.qss or 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


Download files

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

Source Distribution

ezqt_app-2.1.0.tar.gz (882.0 kB view details)

Uploaded Source

Built Distribution

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

ezqt_app-2.1.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file ezqt_app-2.1.0.tar.gz.

File metadata

  • Download URL: ezqt_app-2.1.0.tar.gz
  • Upload date:
  • Size: 882.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for ezqt_app-2.1.0.tar.gz
Algorithm Hash digest
SHA256 d045d688520b3f72d6bd16ed75c49a563e3a98c4669e2077607f643888d93cf7
MD5 1ef9c0fd30e3a175f5d10b4a8922c81e
BLAKE2b-256 7172c83344f94cecd035c6dab1a5bf2db3e9a1c337ed5a23a79d3743e9e61c7d

See more details on using hashes here.

File details

Details for the file ezqt_app-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: ezqt_app-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for ezqt_app-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 156dac50f51b66bb9d047d49333b16a47cf492b803578550f9b87530e6866b94
MD5 b488368c5a71a66b35cf27afaa2e177f
BLAKE2b-256 f4e72943f1469b66a0ab21ac27d31523bd008c36b04851321a74b8bcefff004a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page