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

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

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.4-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.50.0 CPython/3.8.6

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d8683e5dc4ad6840008372ccc330b81cb5b12768d03bb45fdb0ecc52a14e86f9
MD5 906be9e98b393a03ad1e4a3eaae511f6
BLAKE2b-256 b396fc70a4e1ec99a172116b79262a8652671ff89135dab73783053c00d6aa21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.4-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.50.0 CPython/3.8.6

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 0a5bb8e468a889968ef40177fd84b2545a12bfdff487ef9e806ab6c808aad426
MD5 05c1a1beecdbf029e02a4b8a63237f81
BLAKE2b-256 985b9f8b1034278621e48cdb606c798216e0512dd25fd9747dbd6ebd1a1e5a6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.4-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 79.6 MB
  • Tags: CPython 3.8
  • 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.50.0 CPython/3.8.6

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c9d7c9fbf410acd0241c0b0f871b579676f58e7208a26bdffbf747c34206229
MD5 a2123e7b1eab62523d59d8b9f3331208
BLAKE2b-256 59846b1bccfe7d61148afb8229d6a3183cc6b09878ac98daddfbc8b8be828f84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.4-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.50.0 CPython/3.8.6

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c71e0c21aa2d30dab87e86fae84ed4f1c79d6b645f4fba282d92a26717edb0b0
MD5 6f54550dfda8bc7d5f52e004cc3c3183
BLAKE2b-256 7c6d5d108cb7f4f67c2f398248c1977a9aa0519ccc1781616e08053c83832729

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.4-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.50.0 CPython/3.8.6

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 f7e9728aa7f3d8a36fbae25489b41b4dd0996b2f187fc77f4a00cdda19300e14
MD5 5442c461f94c5e519cc2e4d1be628a65
BLAKE2b-256 685b202a0dbe7774f26be5ade0fa42cbd4cc6fc4dc5b19c824dfccf6160f8566

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b0a5243f5694551e30c5b995e8072d85cd1e9c039037434f088e7a79982c062d
MD5 fbd283e257a903d96aecf80c07acb619
BLAKE2b-256 2ce4cd64b2a49c72b7b2093552b4f6ae4c8b7e80471d5329ecbfe25e32de4f09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.4-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.50.0 CPython/3.8.6

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 562a8c5d775444fbc1d9eee166ec9deb3dbbf627cecb4799e836ed5f135cca14
MD5 156e538f2b4bdd74ba856f8d0732e15b
BLAKE2b-256 96f3b82435b858f3cae6c1f85c0230f476e9250bafb89c6a594e12fbde3018d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.4-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.50.0 CPython/3.8.6

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 d64c3fd9eda2b6a87d3e54039b5d17500aa79eb80b6fed25fc9596beae88e774
MD5 d92c69ac2d6de7dc47eb66b6070979ee
BLAKE2b-256 86b0e53f6595b291524e451c061a1a93f99bd397da6f98d3cfe10507cb4ec067

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 140f96bd11c71e2f97bd31ccb9e69bc1355add786d0cfd3af5b1850e0e5ea398
MD5 7467011f10891af19615265fc6fd7d5f
BLAKE2b-256 e89a6b5408cd50bffcfe2e6b15b38e55532213e401d2842f3b56152986a8d883

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.4-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.50.0 CPython/3.8.6

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 67a5dc7751db423e23db99e613447b668ca13b25f9175cbb73294c3d24698d69
MD5 bfdfffb6a9b9f5b8d4aab87d416b1d57
BLAKE2b-256 bde2e5ebee94d65fdd99b39ac47c3ae0baac31d2b4946e1ab35880a1d237e157

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.1.1.7.4-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.50.0 CPython/3.8.6

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 b6d9482ba11edd3b2f3c3c03d1db344bb8fdc7fa61e9af9a76e043807bae5a25
MD5 b949358522040349627ec54fc610c0f8
BLAKE2b-256 0ceaa3ba6721fb7f611b48a65d68bcf3cadae922d1965f3ea8078060ce3f379c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.15.1.1.7.4-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7fa128a0df75639aa7789b33a66a63d401f62fd7b607b7f88d115756eb9398cd
MD5 3576d7fe503b725289470677e2946ea4
BLAKE2b-256 d390c84a7a8123378d7eec8dbf6ccb08e9c6ffd404bb361e8b6de3c565f48a73

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