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

Installation

pip install pyqtier

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 .
    
  2. Design your UI:

    pyqtier designer
    
  3. 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.x
  • PyQt5
  • qt5-tools (for Qt Designer)
  • click (for CLI interface)

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.0.0.tar.gz (12.0 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.0.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyqtier-1.0.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.7

File hashes

Hashes for pyqtier-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0b1010e6274cb3ffc3e2307d182e26e62371dbb8dab60e64b12d8c7d8562f69e
MD5 c9c90262a3854b83178331ceeaf9b29e
BLAKE2b-256 34ff2de5dfe552e2e7d2d1f3f92643411b9d8412f4024a74c2748b9baf2417df

See more details on using hashes here.

File details

Details for the file PyQtier-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: PyQtier-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.7

File hashes

Hashes for PyQtier-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25cbd1b053d8e9f5ff7addb7a3bea0f3e3cead243f255ca6f1f1e9fe899fac45
MD5 012e4ed4277caed3e05efdc2a82f3ee1
BLAKE2b-256 beb5ef8881f71df1d7b5a3ed843f5cfa78bb77eb770418866c4eb600d1320a9c

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