Skip to main content

Tools to supplement the official PyQt5 wheels

Project description

AppVeyor build status

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 pqyt5-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 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

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
  --designer-help              Pass through to get Designer's --help
  --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.

The QML plugin is also included for use with qmlscene.exe and qmltestrunner.exe.

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.9.2.1.3-cp37-none-win_amd64.whl (38.7 MB view details)

Uploaded CPython 3.7 Windows x86-64

pyqt5_tools-5.9.2.1.3-cp37-none-win32.whl (31.2 MB view details)

Uploaded CPython 3.7 Windows x86

pyqt5_tools-5.9.2.1.3-cp36-none-win_amd64.whl (37.9 MB view details)

Uploaded CPython 3.6 Windows x86-64

pyqt5_tools-5.9.2.1.3-cp36-none-win32.whl (31.2 MB view details)

Uploaded CPython 3.6 Windows x86

pyqt5_tools-5.9.2.1.3-cp35-none-win_amd64.whl (37.9 MB view details)

Uploaded CPython 3.5 Windows x86-64

pyqt5_tools-5.9.2.1.3-cp35-none-win32.whl (31.2 MB view details)

Uploaded CPython 3.5 Windows x86

File details

Details for the file pyqt5_tools-5.9.2.1.3-cp37-none-win_amd64.whl.

File metadata

  • Download URL: pyqt5_tools-5.9.2.1.3-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 38.7 MB
  • Tags: CPython 3.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for pyqt5_tools-5.9.2.1.3-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 88d72e23eb657228c6da2fd7316441b58a7e6e35dcfee13a528037ad6b1d00ae
MD5 c6d6e05c1d10722f535d62da09e034c2
BLAKE2b-256 8a128b98f9aa1cc987ec135de83d9c8ba149c8a356db63be1a206e72729bb739

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.9.2.1.3-cp37-none-win32.whl.

File metadata

  • Download URL: pyqt5_tools-5.9.2.1.3-cp37-none-win32.whl
  • Upload date:
  • Size: 31.2 MB
  • Tags: CPython 3.7, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for pyqt5_tools-5.9.2.1.3-cp37-none-win32.whl
Algorithm Hash digest
SHA256 d1064a9269c4db4a55b101a60b366411635e6fbc9eb0e4636ebfc997a76981ce
MD5 f1ca108349ffde546e0d3033c55633d0
BLAKE2b-256 fe48f3dae69c01502a53f77851806763d2e01d9abc1269d7fb857605fd8f564a

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.9.2.1.3-cp36-none-win_amd64.whl.

File metadata

  • Download URL: pyqt5_tools-5.9.2.1.3-cp36-none-win_amd64.whl
  • Upload date:
  • Size: 37.9 MB
  • Tags: CPython 3.6, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for pyqt5_tools-5.9.2.1.3-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 83e87aa216dfecc154cc3bfa3d25b4794df4db2488c5333077ecc0e52528ea18
MD5 6d6e1780299d64a345f3d2884f064eb7
BLAKE2b-256 22168dff6fb8d8e2bfb5d07c1d10f7955700b428fb5017176562ffd4c6ee3d6a

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.9.2.1.3-cp36-none-win32.whl.

File metadata

  • Download URL: pyqt5_tools-5.9.2.1.3-cp36-none-win32.whl
  • Upload date:
  • Size: 31.2 MB
  • Tags: CPython 3.6, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for pyqt5_tools-5.9.2.1.3-cp36-none-win32.whl
Algorithm Hash digest
SHA256 341b7a88fde485f19db6ff4af8bbecc7d2890e9a093e8e00f6f9536e9ecbd4f0
MD5 998b41bd81f1e775932f430f38387bb5
BLAKE2b-256 d4458c35d89b59770f50a14316d1696d3382443002fd2d4263e8f18887251aa4

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.9.2.1.3-cp35-none-win_amd64.whl.

File metadata

  • Download URL: pyqt5_tools-5.9.2.1.3-cp35-none-win_amd64.whl
  • Upload date:
  • Size: 37.9 MB
  • Tags: CPython 3.5, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4

File hashes

Hashes for pyqt5_tools-5.9.2.1.3-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 1e007d416d74d789b103cde40f3341ef7ecd6bc4776e2a3ced8edf4217983960
MD5 6c6bc581fe54299a9803176b57b5deaf
BLAKE2b-256 6100fe3c3ebf505dd18b218fa0d489971ca672432a6f96fe95a923dd6c3d4a01

See more details on using hashes here.

Provenance

File details

Details for the file pyqt5_tools-5.9.2.1.3-cp35-none-win32.whl.

File metadata

  • Download URL: pyqt5_tools-5.9.2.1.3-cp35-none-win32.whl
  • Upload date:
  • Size: 31.2 MB
  • Tags: CPython 3.5, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4

File hashes

Hashes for pyqt5_tools-5.9.2.1.3-cp35-none-win32.whl
Algorithm Hash digest
SHA256 da125aec3ace184fa291f1011abaf76e33442b25b22ef22a230bdbac4f4e7a73
MD5 4fad6d27e825f9ee3c523fdfd68b0a16
BLAKE2b-256 d29c31ea89b8a20e4d38bca3418a217ce75e7f9372c9cadea6e31c99af6b0068

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