Skip to main content

Python bindings for the Qt cross-platform application and UI framework

Project description

PySide2

Introduction

PySide2 is the official Python module from the Qt for Python project, which provides access to the complete Qt 5.12+ framework.

The Qt for Python project is developed in the open, with all facilities you'd expect from any modern OSS project such as all code in a git repository and an open design process. We welcome any contribution conforming to the Qt Contribution Agreement.

Installation

Since the release of the Technical Preview it is possible to install via pip, both from Qt's servers and PyPi:

pip install PySide2

Dependencies

PySide2 versions following 5.12 use a C++ parser based on Clang. The Clang library (C-bindings), version 6.0 or higher is required for building. Prebuilt versions of it can be downloaded from download.qt.io.

After unpacking the archive, set the environment variable LLVM_INSTALL_DIR to point to the folder containing the include and lib directories of Clang:

7z x .../libclang-release_60-linux-Rhel7.2-gcc5.3-x86_64-clazy.7z
export LLVM_INSTALL_DIR=$PWD/libclang

On Windows:

7z x .../libclang-release_60-windows-vs2015_64-clazy.7z
SET LLVM_INSTALL_DIR=%CD%\libclang

Building from source

For building PySide2 from scratch, please read about getting started. This process will include getting the code:

git clone https://code.qt.io/pyside/pyside-setup
cd pyside-setup
git branch --track 5.12 origin/5.12
git checkout 5.12

then install the dependencies, and following the instructions per platform. A common build command will look like:

python setup.py install --qmake=<path/to/qmake/> --parallel=8 --build-tests

You can obtain more information about the options to build PySide and Shiboken in our wiki.

Documentation and Bugs

You can find more information about the PySide2 module API in the official Qt for Python documentation.

If you come across any issue, please file a bug report at our JIRA tracker following our guidelines.

Community

Check #qt-pyside, our official IRC channel on FreeNode, or contact us via our mailing list.

Licensing

PySide2 is available under both Open Source (LGPLv3/GPLv2) and commercial license. Using PyPi is the recommended installation source, because the content of the wheels is valid for both cases. For more information, refer to the Qt Licensing page.

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

PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl (137.4 MB view details)

Uploaded CPython 3.10 CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Windows x86-64

PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win32.whl (116.9 MB view details)

Uploaded CPython 3.10 CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Windows x86

PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl (164.3 MB view details)

Uploaded CPython 3.10+ CPython 3.5+ CPython 3.6+ CPython 3.7+ CPython 3.8+ CPython 3.9+

PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-macosx_10_13_intel.whl (148.5 MB view details)

Uploaded CPython 3.10+ CPython 3.5+ CPython 3.6+ CPython 3.7+ CPython 3.8+ CPython 3.9+ macOS 10.13+ intel

PySide2-5.15.2.1-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl (163.7 MB view details)

Uploaded CPython 2.7mu

PySide2-5.15.2.1-5.15.2-cp27-cp27m-macosx_10_13_intel.whl (148.1 MB view details)

Uploaded CPython 2.7m macOS 10.13+ intel

File details

Details for the file PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl.

File metadata

  • Download URL: PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl
  • Upload date:
  • Size: 137.4 MB
  • Tags: CPython 3.10, CPython 3.5, CPython 3.6, CPython 3.7, CPython 3.8, CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 af6b263fe63ba6dea7eaebae80aa7b291491fe66f4f0057c0aafe780cc83da9d
MD5 d30c9ae54a1f0796ddc569e6e4614c4e
BLAKE2b-256 ed5ed0d540385dcc5eeda877a4288a9a4970e0e7b2282e840c2b08ce5442542e

See more details on using hashes here.

File details

Details for the file PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win32.whl.

File metadata

  • Download URL: PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win32.whl
  • Upload date:
  • Size: 116.9 MB
  • Tags: CPython 3.10, CPython 3.5, CPython 3.6, CPython 3.7, CPython 3.8, CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win32.whl
Algorithm Hash digest
SHA256 439509e53cfe05abbf9a99422a2cbad086408b0f9bf5e6f642ff1b13b1f8b055
MD5 45cc6a3da92ea50aed1555d243577605
BLAKE2b-256 c9aea8c2b9d7b19a787a9f96ddead3f38e4e7b041ec7ae901953dfa7a2fe2fff

See more details on using hashes here.

File details

Details for the file PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 23886c6391ebd916e835fa1b5ae66938048504fd3a2934ae3189a96cd5ac0b46
MD5 6e7e3e87e4c3dbf650d7948a2800be2e
BLAKE2b-256 c29a78ca8bada6cf4d2798e0c823c025c590517d74445837f4eb50bfddce8737

See more details on using hashes here.

File details

Details for the file PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-macosx_10_13_intel.whl.

File metadata

File hashes

Hashes for PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-macosx_10_13_intel.whl
Algorithm Hash digest
SHA256 a9e2e6bbcb5d2ebb421e46e72244a0f4fe0943b2288115f80a863aacc1de1f06
MD5 08fa98f08fbaec74f17e1b238b95bbf3
BLAKE2b-256 1b1f194ed3a9c79abe4d8e8800112d5c19d0b9d7a1aca8b10029043bb3a083d0

See more details on using hashes here.

File details

Details for the file PySide2-5.15.2.1-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: PySide2-5.15.2.1-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 163.7 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for PySide2-5.15.2.1-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 235240b6ec8206d9fdf0232472c6ef3241783d480425e5b54796f06e39ed23da
MD5 4f51212147a205cc2e65366598ecd65e
BLAKE2b-256 da188a59ed71344db7330ce321d3c415a87ef6e44c7eb1d24df679e728afc3a8

See more details on using hashes here.

File details

Details for the file PySide2-5.15.2.1-5.15.2-cp27-cp27m-macosx_10_13_intel.whl.

File metadata

  • Download URL: PySide2-5.15.2.1-5.15.2-cp27-cp27m-macosx_10_13_intel.whl
  • Upload date:
  • Size: 148.1 MB
  • Tags: CPython 2.7m, macOS 10.13+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for PySide2-5.15.2.1-5.15.2-cp27-cp27m-macosx_10_13_intel.whl
Algorithm Hash digest
SHA256 b5e1d92f26b0bbaefff67727ccbb2e1b577f2c0164b349b3d6e80febb4c5bde2
MD5 7d1bac636562edc02aa7f8d8d609a2d1
BLAKE2b-256 b9b038ba6691d4ee56d25f4c261e3d1e775b8760e30d4f5e0b62574d110299af

See more details on using hashes here.

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