Skip to main content

Make your onw desktop app faster

Project description

PyQtier

PyQtier is a command-line tool and architecture solution that helps you work with PyQt5 projects simpler and faster, providing convenient commands for project creation, UI file conversion, and Qt Designer integration.

screenshot_1.png

Features

  • Command-line interface for project management
  • Built-in GUI application with modern interface
  • Qt Designer integration
  • Automatic UI and resource file conversion
  • Project scaffolding and architecture solutions
  • Modular plugin system for Serial, CAN, and Modbus communication

Installation

# Base installation (no communication protocols)
pip install pyqtier

# With specific protocol support
pip install pyqtier[serial]      # Serial/USB communication
pip install pyqtier[can]         # CAN bus support
pip install pyqtier[modbus]      # Modbus RTU/TCP support

# Multiple protocols
pip install pyqtier[serial,modbus]

# All protocols
pip install pyqtier[all]

Commands

Note: You can use pyqtier or shorter pqr command to run the commands.

Start a New Project

Create a new PyQt5 project structure:

pyqtier startproject PROJECT_NAME
  • PROJECT_NAME: Name and path of your project. Use . to create the project in the current directory.

Open Qt Designer

Launch Qt Designer for creating UI files:

pyqtier designer

Note: Requires qt5-tools to be installed on your system.

Convert UI Files

Convert Qt Designer .ui files to Python .py files:

# Convert all .ui files in the project
pyqtier convertui

# Convert a specific .ui file
pyqtier convertui filename.ui

# Convert .ui files and automatically convert associated .qrc files
pyqtier convertui --autorc

Convert Resource Files

Convert Qt resource .qrc files to Python .py files:

# Convert all .qrc files in the project
pyqtier convertqrc

# Convert a specific .qrc file
pyqtier convertqrc filename.qrc

Examples

  1. Create a new project:
   pyqtier startproject .
  1. Design your UI:
   pyqtier designer
  1. Convert UI and resource files:
   # Convert all UI files and automatically convert QRC files
   pyqtier convertui --autorc
   
   # Convert a specific UI file
   pyqtier convertui main_window.ui
   
   # Convert a specific resource file
   pyqtier convertqrc resources.qrc

Requirements

  • Python 3.11+
  • PyQt5

Optional Dependencies

Extra Package Description
serial pyserial Serial/USB communication
can python-can CAN bus interface
modbus pymodbus Modbus RTU/TCP protocol

License

MIT

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

pyqtier-1.4.5.tar.gz (47.6 kB view details)

Uploaded Source

Built Distribution

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

pyqtier-1.4.5-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

File details

Details for the file pyqtier-1.4.5.tar.gz.

File metadata

  • Download URL: pyqtier-1.4.5.tar.gz
  • Upload date:
  • Size: 47.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for pyqtier-1.4.5.tar.gz
Algorithm Hash digest
SHA256 37f4c8d396c9def5ebb6d2e62eee5a9e0a651e89f10433f495cd797214471aae
MD5 ec55cfbe5e56375e514a9c2f24a41ad7
BLAKE2b-256 15ef02ac0d0f7c74ce807fa5a8bec2eeb8422ec89534c0d0662eaa36e85cc996

See more details on using hashes here.

File details

Details for the file pyqtier-1.4.5-py3-none-any.whl.

File metadata

  • Download URL: pyqtier-1.4.5-py3-none-any.whl
  • Upload date:
  • Size: 61.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for pyqtier-1.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 478619680cbc29c13beca243657b9d8d94aebac0a9aa28340c45c89b3fc33c08
MD5 063e6549ad45ac9fee442ad521035713
BLAKE2b-256 49fd0a983f54d86bb2e651e9377d0f17254c848f222c92bdab3fbce3207a3f6c

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