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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

pyqt5_tools-5.15.0.1.7.3-cp37-cp37m-win_amd64.whl (57.4 MB view details)

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

pyqt5_tools-5.15.0.1.7.3-cp37-cp37m-manylinux2014_x86_64.whl (79.6 MB view details)

Uploaded CPython 3.7m

pyqt5_tools-5.15.0.1.7.3-cp36-cp36m-win_amd64.whl (57.4 MB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

pyqt5_tools-5.15.0.1.7.3-cp36-cp36m-manylinux2014_x86_64.whl (79.6 MB view details)

Uploaded CPython 3.6m

pyqt5_tools-5.15.0.1.7.3-cp35-cp35m-win_amd64.whl (57.4 MB view details)

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

pyqt5_tools-5.15.0.1.7.3-cp35-cp35m-manylinux2014_x86_64.whl (79.6 MB view details)

Uploaded CPython 3.5m

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.0.1.7.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 57.4 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.0.1.7.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ea999e37240fb5180f0b1008ef916bafbcdc451c3fee8afe1e588334a2a81523
MD5 1c4fbdb879c994db54461d3fde8249ea
BLAKE2b-256 4308430a4e0c01df9a43c0e9d770ae653992bb54c052b81c971fcbb33aaa7d20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.0.1.7.3-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.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.0.1.7.3-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 a56bf577431ee088761070d7a8ca42918cd857ca64bbaf6a88558802518ecddb
MD5 58088628c2d479c377537ec736d26d3a
BLAKE2b-256 f13a346b8ad39f31ec2a498d8d5f023d1936386a0542f630eb3f4c7c61fd9edd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.0.1.7.3-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.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.0.1.7.3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 892bf0202192da96407957f4bca34695f7dfd4cd61e36289e3ee20ef14086ff6
MD5 63bafd82745882c02aff20c5da13462a
BLAKE2b-256 53a8613c92a378eff537b5b7112247aa86d8ae51c6d3ec4a68e50b786d7e44f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.0.1.7.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 57.4 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.0.1.7.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 47b4bc4e7f17af3c574d6940666e2b72a076e67863c936d6ceec29cde4bbf4ed
MD5 6c181f0796d199b9fcfacb7b99532311
BLAKE2b-256 65eb879597861f7ccae52536d9fb0a935c60bb60b0c4dda31bacd15223f89910

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.0.1.7.3-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.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.0.1.7.3-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 0e4f51f99fcccf24727f10e1c1f4e7c8bd339742a2cd4687dbf45c38eddce062
MD5 3066cdfd9624b9f60a1e2ee5636eba6a
BLAKE2b-256 308cd6f8b1940b8fd7ebf141d5de111ef1d55c5072571da680e7d358b2023917

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.15.0.1.7.3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c3439f74ce70914eec2bc786c24a48670755aa5680d802a1a6a20b349461fae
MD5 69752f6e3da57d52b498db876223f1bb
BLAKE2b-256 6350cc87df453c3dd5f09629c6820075905194de7ea9be6d0ef5f7f87abf0094

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.0.1.7.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 57.4 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.0.1.7.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 ecb97be75a105dcbee6c9ad2b2d4f24fd93df3234606dc7b2c49ed78f9ef5ba7
MD5 f3e2c37e930a02baaf5da05431f08db0
BLAKE2b-256 1d895ab7c23c5f4b471f56561d445b9fd868c9114395394347b1e04816d9cc08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.0.1.7.3-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.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.0.1.7.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 e3c527769c08a869ad2c24a57e83201acb406acdbf8750117d512b061782cf2f
MD5 d8e87c1aff6e9206c8712b7b7dc1e0fd
BLAKE2b-256 8043cd6221c13a407d06445a43253f677ac58b60709dcc2d74b7d3f6659bfbe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.15.0.1.7.3-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d6b1270ca18675a4aee9ff198b6cac47e51319997a2a128986c7e1ae62bd4d0
MD5 17a0ff98d56c1d36097882ac7e43c759
BLAKE2b-256 e441db8562db03be43d4d05304784f007f55e188754ff6755d266daf0f96c16d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.0.1.7.3-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 57.4 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.0.1.7.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 fd53d65e0e4c1cea1ecd931ef23e84187b5389d8317b416eaabb5d1c30bc8e6d
MD5 c11468c5d7a356892466f63fcc246716
BLAKE2b-256 942645c61f7d7d20ee86025975dd926d22afdf7ca1ca0bf52e784e2071218ac4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqt5_tools-5.15.0.1.7.3-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.49.0 CPython/3.8.5

File hashes

Hashes for pyqt5_tools-5.15.0.1.7.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 3c3ffdb74d7c2456cc47ac09c6eda79f23f9bd7e2096b507711866444f2d3384
MD5 bf2a256c9d137bd0ce083598a6e23a79
BLAKE2b-256 db43c07a2f5ae1aae1a1b959bdaf68a343d465ab347fcab82b608fbf5672e08b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.15.0.1.7.3-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e98ec05e75b4b44ba6f2dd95acfa5f873635a85a978988a2651e1b15545546f1
MD5 f26d215d8cd35bc48a2fe0bd4aa54fa7
BLAKE2b-256 2f24fa59638e2efd25201f3ea9ce379a55bdc22d0bcb7da3a1993045b55f5514

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