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.3.0.tar.gz (903.5 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.3.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ezqt_app-2.3.0.tar.gz
  • Upload date:
  • Size: 903.5 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.3.0.tar.gz
Algorithm Hash digest
SHA256 5c58b4eb8270af400d7e073f16813f4587dbff3e0e816f3362c5eff1a81a17c1
MD5 56cd5f8b0a62f91fd2bcde353b59b766
BLAKE2b-256 f63f72e18a999e84129a767eccb45fedc59a844ba608a0b6319917e24ba40357

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ezqt_app-2.3.0-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

Hashes for ezqt_app-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1ba26b7b55ba9660bb74a7d68917a4312c80fa4047577fdbf3d8aa07564966d
MD5 90621d364430e1b32e5f54fb87c77fc9
BLAKE2b-256 5fa4beaff8630e973e2be8e34e5ab7288929dbeb1b98062d1aadd806858b0225

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