Skip to main content

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

Metadata

Release files for PyQtier 1.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyQtier 1.4.5
File Size Uploaded
pyqtier-1.4.5.tar.gz 47.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyQtier 1.4.5
File Interpreter ABI Platform
pyqtier-1.4.5-py3-none-any.whl Python 3 none any Details

Total release size: 109.2 kB

Release files / pyqtier-1.4.5.tar.gz

Download URL pyqtier-1.4.5.tar.gz
Size 47.6 kB
Tags Source
SHA-256 checksum
How to use checksums
37f4c8d396c9def5ebb6d2e62eee5a9e0a651e89f10433f495cd797214471aae
BLAKE2b-256 checksum
How to use checksums
15ef02ac0d0f7c74ce807fa5a8bec2eeb8422ec89534c0d0662eaa36e85cc996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / pyqtier-1.4.5-py3-none-any.whl

Download URL pyqtier-1.4.5-py3-none-any.whl
Size 61.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
478619680cbc29c13beca243657b9d8d94aebac0a9aa28340c45c89b3fc33c08
BLAKE2b-256 checksum
How to use checksums
49fd0a983f54d86bb2e651e9377d0f17254c848f222c92bdab3fbce3207a3f6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.4.5 This release

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.40

2 release files

1.0.39

2 release files

1.0.38

2 release files

1.0.37

2 release files

1.0.36

2 release files

1.0.33

2 release files

1.0.32

2 release files

1.0.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.3

2 release 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