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.14.0.1.7.4-cp38-cp38-win_amd64.whl (57.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

pyqt5_tools-5.14.0.1.7.4-cp38-cp38-win32.whl (48.0 MB view details)

Uploaded CPython 3.8 Windows x86

pyqt5_tools-5.14.0.1.7.4-cp37-cp37m-win_amd64.whl (57.7 MB view details)

Uploaded CPython 3.7m Windows x86-64

pyqt5_tools-5.14.0.1.7.4-cp37-cp37m-win32.whl (48.0 MB view details)

Uploaded CPython 3.7m Windows x86

pyqt5_tools-5.14.0.1.7.4-cp36-cp36m-win_amd64.whl (57.7 MB view details)

Uploaded CPython 3.6m Windows x86-64

pyqt5_tools-5.14.0.1.7.4-cp36-cp36m-win32.whl (48.0 MB view details)

Uploaded CPython 3.6m Windows x86

pyqt5_tools-5.14.0.1.7.4-cp35-cp35m-win_amd64.whl (57.7 MB view details)

Uploaded CPython 3.5m Windows x86-64

pyqt5_tools-5.14.0.1.7.4-cp35-cp35m-win32.whl (48.0 MB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

  • Download URL: pyqt5_tools-5.14.0.1.7.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 57.7 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.14.0.1.7.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f3294ad89d3d41dc7c99e5beaee1e7a23d7371dd9e3d1d51589c95a83c7b388a
MD5 4a175c3fa5c3557ce60905c7d5143393
BLAKE2b-256 8ad9bd2c18576296a642a42375f63e4d47433949ef93c284edfa696ae48c702f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.14.0.1.7.4-cp38-cp38-win32.whl
  • Upload date:
  • Size: 48.0 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.14.0.1.7.4-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 ad042c0028aa82a171857fd8988cf559e4496a2c4e8fddfa37daa6047fa37988
MD5 b9dff0770a203dd6766ed87992f676c4
BLAKE2b-256 c7240161b7089f7641a504bbc9fff0334ef1b7988a3babb565986f15d372c53b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c3c33303848da7b33616137ab4449991ed646f5991c303dea07be80720c79b4
MD5 010cbdbb9caf027fdfdddd38c1651073
BLAKE2b-256 5153c4c839d39f701599e4fb42f8a7752911ca0b777e01288b024952be7a7926

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.14.0.1.7.4-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 57.7 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.14.0.1.7.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7b679cf450a23d015847e1e567e307e46092f0b8d62dad242a51638b24e9df1e
MD5 5e78e7054512642ea70eb93fd42ff653
BLAKE2b-256 e0b428bc55322242e9712b9ab4475695908edbd0a32ad032e289e93d5ed230a1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.14.0.1.7.4-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 48.0 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.14.0.1.7.4-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 7340568938da1807b8a20103967b90c7c56dd3d4a251389ab2e927041dc96d73
MD5 eac5775ff04628673749bcf98fb15918
BLAKE2b-256 6de2a8c3d31162281756cd8d7ae93f58450b619ee2cad20476ad69aac91b7857

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 17471b2990eb5ff46e48705573030b97888e663caf16fd67fb9f73e18c4f7275
MD5 91b5503ee49ac3791ef92806a7f9a703
BLAKE2b-256 0942effec08eb77153848b88ee495cccd4970630572d02afad3fb9572e7263f1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.14.0.1.7.4-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 57.7 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.14.0.1.7.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0da04b04efc75283cef59a6b420acf7603d39ef06d0ac3e1aa074e95a64ecc0a
MD5 eda770f7ea0da99842162b7a5c24e0e7
BLAKE2b-256 f1d45121516e53bbfab4fbfb4d50b3a4f85bc0d6c99f9cd0497f39071bae5bad

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.14.0.1.7.4-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 48.0 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.14.0.1.7.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 80f8fbf6b287899fc46f73a49df38ca51962c2455562faac9f1dea21e5133630
MD5 57702e4c93a95ffa05385def2f44472b
BLAKE2b-256 c8e9cb7d304cb88a4f036b6ab9e1f5dd78beb4f9541db8bb316022a080b0ef0b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.4-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8282eb04578c113b71bfd4850d51c879e24122f70d5a167d18baa2240d4a8e90
MD5 74715bd5e66828f667c361478e447e6b
BLAKE2b-256 dd476cd69b7bdc91fe9f8cfa492f19a57950559e92ed77e2459c91e0144aef31

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.14.0.1.7.4-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 57.7 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.14.0.1.7.4-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 501f093dae181aae1a457e42c362d34022d36916496d3667c7a047aab56ea00a
MD5 7b88ae9825b31e49254d46c8bfcb45d8
BLAKE2b-256 cc1b5069f2fd7a4b3295649d8aabdcca677c91778fcc7ebb144f02fef8c6054f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.14.0.1.7.4-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 48.0 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.14.0.1.7.4-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 2bbebe0b2c1d5968135a9522faa41b235a0aa660d37d427a08a1e8660a5070d8
MD5 8b60bdb30464288747584fc83dcb16ef
BLAKE2b-256 273fd4f3168b2d3dcabb819666ff90b1d74b6d1ec4f37468d3df21acc3aa2be5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.4-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c91da6f624b3ad018e92e1d86397ac4561f3b6f43e311163e193cd8e50315af6
MD5 564ec4d63341650afd32a7e90c284d31
BLAKE2b-256 e9a04fdad9f1d94ce904c89eddd900c1ac40a57974120d23ba5c32973a3b4719

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