Skip to main content

Tools to supplement the official PyQt5 wheels

Project description

PyPI version supported Python versions AppVeyor build status source on GitHub

The PyQt5 wheels do not provide tools such as Qt Designer that were included in the old binary installers. This package aims to provide those in a separate package which is useful for developers while the official PyQt5 wheels stay focused on fulfilling the dependencies of PyQt5 applications.

Installation

yourenv\Scripts\pip.exe install --pre pyqt5-tools~=5.11

You will generally install pyqt5-tools using pip install. In most cases you should be using virtualenv or venv to create isolated environments to install your dependencies in. The above command assumes an env in the directory yourenv. The --pre allows for the latest version to be installed despite not being a full release version. You will have to decide if this is a good option for you at any given point in time. The ~=5.11 specifies a release compatible with 5.11 which will be the latest version of pyqt5-tools built for PyQt5 5.11. If you are using a different PyQt5 version, specify it instead of 5.11. PyPI keeps a list of all available versions.

Usage

For each tool a script is created such that you get files like Scripts\designer.exe to launch the programs. Each one searches up the filesystem tree from your current working directory to find a .env file and loads it if found. If found the environment variable DOT_ENV_DIRECTORY will be set to the directory containing the .env file. With this extra variable you can specify paths relative to the .env location.

PYQTDESIGNERPATH=${PYQTDESIGNERPATH};${DOT_ENV_DIRECTORY}/path/to/my/widgets

Additionally, each pyqt5* wrapper listed below includes a parameter to run a basic example which can be used to see if the plugins are working. These examples are not intended to be used as examples of good code.

Designer

There is a Scripts\pyqt5designer.exe entry point that will help fill out PYQTDESIGNERPATH from either command line arguments or a .env file. Unknown arguments are passed through to the original Qt Designer program.

Usage: pyqt5designer [OPTIONS]

Options:
  -p, --widget-path DIRECTORY     Paths to be combined with PYQTDESIGNERPATH
  --example-widget-path           Include the path for the pyqt5-tools example
                                  button (c:\users\sda\testenv\lib\site-
                                  packages\pyqt5_tools)
  --designer-help                 Pass through to get Designer's --help
  --test-exception-dialog         Raise an exception to check the exception
                                  dialog functionality.
  --qt-debug-plugins / --no-qt-debug-plugins
                                  Set QT_DEBUG_PLUGINS=1
  --help                          Show this message and exit.

If you want to use Form > View Code... from within Designer you can run Scripts\pyqt5toolsinstalluic.exe and it will copy pyuic5.exe such that Designer will use it and show you generated Python code. pyqt5 must already be installed or this script will be unable to find the original pyuic5.exe to copy.

In addition to the standard features of the official Designer plugin, this provides an exception dialog for your widget’s Python code. Otherwise Designer in Windows silently crashes on Python exceptions.

QML Plugin

The QML plugin is also included. In the future a tool may be provided to handle copying of the plugin to each directory where it is needed. For now this must be done manually.

site-packages\pyqt5_tools\Qt\bin\plugins\pyqt5qmlplugin.dll

QML Scene

Usage: pyqt5qmlscene [OPTIONS]

Options:
  -p, --qml2-import-path DIRECTORY
                                  Paths to be combined with QML2_IMPORT_PATH
  --qmlscene-help                 Pass through to get QML scene's --help
  --qt-debug-plugins / --no-qt-debug-plugins
                                  Set QT_DEBUG_PLUGINS=1
  --run-qml-example               Run the pyqt5-tools QML example
  --help                          Show this message and exit.

QML Test Runner

Usage: pyqt5qmltestrunner [OPTIONS]

Options:
  -p, --qml2-import-path DIRECTORY
                                  Paths to be combined with QML2_IMPORT_PATH
  --qmltestrunner-help            Pass through to get QML test runner's --help
  --qt-debug-plugins / --no-qt-debug-plugins
                                  Set QT_DEBUG_PLUGINS=1
  --test-qml-example              Test the pyqt5-tools QML example
  --help                          Show this message and exit.

Special Thanks

MacStadium

Thanks to MacStadium for providing me with a macOS system to develop and test out the final pyqt5-tools platform.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pyqt5_tools-5.15.1.1.7.3-cp38-cp38-win_amd64.whl (57.5 MB view details)

Uploaded CPython 3.8 Windows x86-64

pyqt5_tools-5.15.1.1.7.3-cp38-cp38-win32.whl (48.1 MB view details)

Uploaded CPython 3.8 Windows x86

pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-win_amd64.whl (57.5 MB view details)

Uploaded CPython 3.7m Windows x86-64

pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-win32.whl (48.1 MB view details)

Uploaded CPython 3.7m Windows x86

pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-win_amd64.whl (57.5 MB view details)

Uploaded CPython 3.6m Windows x86-64

pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-win32.whl (48.1 MB view details)

Uploaded CPython 3.6m Windows x86

pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-win_amd64.whl (57.5 MB view details)

Uploaded CPython 3.5m Windows x86-64

pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-win32.whl (48.1 MB view details)

Uploaded CPython 3.5m Windows x86

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 57.5 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2f13ae6569a78f93d3cb22bc6421c92e81eb2a4dd757dfc28ecd7168fc8f2039
MD5 1aba615cd8d1e517c99f306791138699
BLAKE2b-256 aa6950162f6eaff3ad726f32f23019c14e4f9616df11d9c50dd9268725da8aff

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp38-cp38-win32.whl.

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.3-cp38-cp38-win32.whl
  • Upload date:
  • Size: 48.1 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 518e7ad4fac1bef4746c3663e2d3222a99ce9bed0c668a8b32ea0886497c9d50
MD5 9eb48059165945a020077c5a30fe0d02
BLAKE2b-256 066fe1c52a9a7907cf8a97ee073e92f11f7980ddc753f1d5585ec2e916af3024

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e03a95a122ce23b059a0cd334ff7383d3d16d9219551ea44d424bfad265f036
MD5 6a6f32a62a97228b85d5c9fb9c61ec7a
BLAKE2b-256 70c5c0666b5eaeacecfd51e9f6bc701d242fa4f69757822f11bd5d554613ee74

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 57.5 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 755aee35b614a7134d5867c91cb8fa9fc6152e760689e3fff6a51ba4b7f34943
MD5 440a2f104579bb02158799c605c7c054
BLAKE2b-256 6076798c9139cdcdd82fe625b48208d46abbc30ce8cb0b6f9bc747ec1df66598

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-win32.whl.

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 48.1 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 0c80a9ff0975426d3c714e69a51dec0b7e92d70283b5463a5ec63738baa16ae4
MD5 d3b89b03174cb9b3003ee6fede70d700
BLAKE2b-256 9e3407f5d2aacbeb5e8eb3e619ff5629b3151ce44c23fe75ed78dd70994c6877

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0bedc6cac24aef9c5ea6e8503c5fb44a8c10a4b6f6cdd7aaa32396c5a70436d9
MD5 409b737f83dbc2b8acf8f33c5cf851b9
BLAKE2b-256 9aa9a6eaba01c24c19621bc092fdc764d4c4e1513af3f05729dbf3184f085de6

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 57.5 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 f055eb4d02f0cd2e1a5104fcaa52ca4a97f8e590b0717892931da00421b9c02b
MD5 c5b39d45a962adfc7cc53da4d727afb2
BLAKE2b-256 7e593ea3ab2bf54f7d945794ba0807f6639cd9b106cf0ca51c33d487481d239b

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-win32.whl.

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 48.1 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 267b627fde90084af1b732949e5188829fcada90f5830f61cc8b5804b54cb074
MD5 57b7a62bd81b5c06346b5cc1a574b35a
BLAKE2b-256 1d0bfa342897bac94d864f402537a788d27d9635797331121c4d47aaca984220

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 89d1a7a3b30de28a49384ed90586e437e9e6f47527ef1eef5f24364d57663fa5
MD5 878d2b82faffd559517ab5ae7174d205
BLAKE2b-256 be188bb6f2fbd3348f24522c015b2ef46d5d9652e8bcb24e5571917ff80b5861

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 57.5 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 52dc6ef63d8c9820a7a222e9678dbcee79eb1c6e04bd34d947e82e0d42d79d4a
MD5 bac8f927ae2034fc2283b7384f3ff8cd
BLAKE2b-256 05379bd8329fb8d9e809e0021e337e0b070b2fd06c3604f3a75a43e424d59923

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-win32.whl.

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 48.1 MB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 1a6a96820820b836d975d534c22ccde1281d313ca3569d1b5ec725e23f26cccc
MD5 eb1f1d06ff60f0653fdefcf0a936c845
BLAKE2b-256 5126b0b67214e0cb31707fae24f9359a04eb4b0429f7335e413ff31024b6a175

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.3-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d055fddc67742bf2c9b3de61931b8acb464e6f504bc89e6bfae644c017d42243
MD5 a97ac14674347d0a8f842afade0da5b8
BLAKE2b-256 593186afbf39afa6cc95f68aa36b606b33bcfe9ad23721b7eb6824f283a57497

See more details on using hashes here.

Provenance

Supported by

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