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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 Windows x86

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.5m Windows x86-64

pyqt5_tools-5.14.0.1.7.5-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.5-cp38-cp38-win_amd64.whl.

File metadata

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

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b46c9cc96aa72a08c82e81b0e2b19aa781e506865cc8d969babf7d6b2a4bb26f
MD5 5592c75564f607be95e53fd637e3732c
BLAKE2b-256 baa70af3a19f6ccec13f3de93ca851317b99fbbbc65a7ffe5cd782694b065c98

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 987c3df423f8581f0de7df8806758541d7eb23201bf845a70e2d17290df72ed5
MD5 8f1f14867f3478f6644a79cd6eb95a88
BLAKE2b-256 c27e4c0a5e3643ead8032b57740fe39074a05437c96609d2694eaedb048d610f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 705f2dae6c662367466d27410281a246c0ea2a7b8ceefd3b27e759f3d22f6072
MD5 32c09845460770af8b283194014a3442
BLAKE2b-256 3d0e423f9c054a8aedf96f4716bd7027a80e57b37ad13db4dc0de7775daa7beb

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c62227f1eae3f04f98ee5ed0c2519ab5751ccf20ce5da139d15bc276740d9b01
MD5 fba0ed97a1aa9b6e48f6b9dd0852e0a3
BLAKE2b-256 a5147b74098b2c90b4ef371acbc4dc25955c411964e46b636c98d88e608b1de5

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 547a6a8c0c56772167d25729155d18c09f10965774953beb9473593a9256e13b
MD5 f5e1d893bb7a0c96e03fc31702541134
BLAKE2b-256 fd712e56d75cc9f6764cc4824e2f43fa3d20bd5fffc76ed9a254c840c1139928

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 cafb1116af02bea7a390dbd55226d00f64be6beb3b00948e81604e542982615f
MD5 5b8129bc8a104f90622fbb4fe6d6ab17
BLAKE2b-256 40c97beb24033d87081c8c1914472423dfae14a5caf42c03aa1ba5c621e57c13

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 c4601234768ce7a6002ba953c9d2e6bed8c88a149ff57a0ad702282271177860
MD5 a54af1986c2d8af3e696682d3b8e0103
BLAKE2b-256 14c9ae42f8f9d3fa6b647d81be488c0dfa1b4111ed965ed51e3b62d4af91ddfa

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3daa0983613b059030504f2bfb9c430c6724fff5f9b29220363f1f7a26e60748
MD5 0b7686682ec60065796396475269cc53
BLAKE2b-256 e0d6184be25cb03165f17c6c0dd079a3862e5d7fac23449956a3e264784f2ed8

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 3e49b8919c11960135de0bf156fb1046a3b58dd4030a9674b1ccb0b591b7c0c4
MD5 debe2826db7693e0de2e27dd80dccf8e
BLAKE2b-256 383263d119b2998f06ad50a6605d52adfc3f8cb7c4276b6cc910cc58b94718cd

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyqt5_tools-5.14.0.1.7.5-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 7f09e70f753184a6dd5dadf68bd91806bea7bdbb4ebdad6ae3f06027a0a0b77a
MD5 cd43b0bed3a82ca8e3ca1352b09a8d19
BLAKE2b-256 94d9cf54b5df0047d9dff4f5489bc03689cf850401e537a7f1f76ed0ce7e3bd5

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