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
  --example-widget-path        Include the path for the pyqt5-tools example
                               button (c:\users\sda\desktop\venv64\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.
  --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.10.1.1.4-cp37-none-win_amd64.whl (39.0 MB view details)

Uploaded CPython 3.7 Windows x86-64

pyqt5_tools-5.10.1.1.4-cp37-none-win32.whl (31.4 MB view details)

Uploaded CPython 3.7 Windows x86

pyqt5_tools-5.10.1.1.4-cp36-none-win_amd64.whl (38.2 MB view details)

Uploaded CPython 3.6 Windows x86-64

pyqt5_tools-5.10.1.1.4-cp36-none-win32.whl (31.4 MB view details)

Uploaded CPython 3.6 Windows x86

pyqt5_tools-5.10.1.1.4-cp35-none-win_amd64.whl (38.2 MB view details)

Uploaded CPython 3.5 Windows x86-64

pyqt5_tools-5.10.1.1.4-cp35-none-win32.whl (31.4 MB view details)

Uploaded CPython 3.5 Windows x86

File details

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

File metadata

  • Download URL: pyqt5_tools-5.10.1.1.4-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 39.0 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.28.1 CPython/3.7.1

File hashes

Hashes for pyqt5_tools-5.10.1.1.4-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 b01babe92e5c6fb2140bfbb253eeb51afb9a74d31811db631b2205d12ef30d88
MD5 86000100346655ff02325c4475c431b9
BLAKE2b-256 8479a5cfd1b6c277c710f82f100795217c41460a0d8d865ec45040d7cdf3c64b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.10.1.1.4-cp37-none-win32.whl
  • Upload date:
  • Size: 31.4 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.28.1 CPython/3.7.0

File hashes

Hashes for pyqt5_tools-5.10.1.1.4-cp37-none-win32.whl
Algorithm Hash digest
SHA256 76d11088bd5abaef35695a375863d6c34e8d8472bc9873c29a1fa944323a50a8
MD5 b3e922eee14d8794125ff7c3c88a3856
BLAKE2b-256 b8996999d3edd30e65d1bd1c390a97657daeb7d10128a131d0cd91f1276371e8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.10.1.1.4-cp36-none-win_amd64.whl
  • Upload date:
  • Size: 38.2 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.28.1 CPython/3.6.6

File hashes

Hashes for pyqt5_tools-5.10.1.1.4-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 fd2d792026d5268dfc26896335f66f9c3dec85c270a105e606f010ef3b32f63b
MD5 2dcfb54dd433d49903ce6370c66fb5c8
BLAKE2b-256 605201c798cf0ae9c806c72e8df5f35df959f253493c8bd69d44ade6d22b284e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.10.1.1.4-cp36-none-win32.whl
  • Upload date:
  • Size: 31.4 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.28.1 CPython/3.6.6

File hashes

Hashes for pyqt5_tools-5.10.1.1.4-cp36-none-win32.whl
Algorithm Hash digest
SHA256 00f316e4a468b233ebce32fb86cc93a90aff8f042cc34c5add096945a75d9886
MD5 014d169df9cdac6076fa7fba5f88660b
BLAKE2b-256 83d3bb075b4add1189707479cc842ce63cef4e1a203e611c7ce4ce4840659dac

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.10.1.1.4-cp35-none-win_amd64.whl
  • Upload date:
  • Size: 38.2 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.28.1 CPython/3.5.4

File hashes

Hashes for pyqt5_tools-5.10.1.1.4-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 637003cec8e2fcbce665d7cdcca45c135a4c60d1c54c6753ae186b9394c171d9
MD5 7323d49aa0cedf11f89d036e2dba128a
BLAKE2b-256 00bcebcc7ad96f9eb83124975bb7b925c33d8b558bf1738de6e9f7b054935c56

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyqt5_tools-5.10.1.1.4-cp35-none-win32.whl
  • Upload date:
  • Size: 31.4 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.28.1 CPython/3.5.4

File hashes

Hashes for pyqt5_tools-5.10.1.1.4-cp35-none-win32.whl
Algorithm Hash digest
SHA256 ab3a8d0f5d1bb14e26027f1fe17fd2410030cab531451f2c4fa085a7dfdab12b
MD5 47cda8a9f5365de5390958291a735221
BLAKE2b-256 b7ef1ace3b8c663a15c0117cff9c4b8660ca56703484cfe52e6d350b8984cb95

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