Skip to main content

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.

Metadata

Release files for PySide2 5.15.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for PySide2 5.15.2
File
PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl CPython 3.9, CPython 3.5, CPython 3.7, CPython 3.8, CPython 3.6 none Windows x86-64 Details
PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win32.whl CPython 3.9, CPython 3.7, CPython 3.6, CPython 3.5, CPython 3.8 none Windows x86-32 Details
PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl CPython 3.9, CPython 3.6, CPython 3.5, CPython 3.7, CPython 3.8 abi3 Linux glibc 2.5+ x86-64 Details
PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_13_intel.whl CPython 3.6, CPython 3.5, CPython 3.8, CPython 3.7, CPython 3.9 abi3 macOS 10.13+ Intel (x86-64, i386) Details
PySide2-5.15.2-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
PySide2-5.15.2-5.15.2-cp27-cp27m-macosx_10_13_intel.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.13+ Intel (x86-64, i386) Details

Total release size: 876.7 MB

Release files / PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl

Download URL PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl
Size 136.3 MB
Tags CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
1316aa22dd330df096daf7b0defe9c00297a66e0b4907f057aaa3e88c53d1aff
BLAKE2b-256 checksum
How to use checksums
8173830023aa8f06d9b04bf45146fd95f1a0f8644f196713fe98bc678e35ab6c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win32.whl

Download URL PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win32.whl
Size 115.8 MB
Tags CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
087a0b719bb967405ea85fd202757c761f1fc73d0e2397bc3a6a15376782ee75
BLAKE2b-256 checksum
How to use checksums
4884b776c8811dd453eb023b5dd05554e0292d5919fdbb881f3c613f57f5cbe2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl

Download URL PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl
Size 164.3 MB
Tags CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
081d8c8a6c65fb1392856a547814c0c014e25ac04b38b987d9a3483e879e9634
BLAKE2b-256 checksum
How to use checksums
6ba605628e08d4feecb985f91cc28de57456787a05163a5474aa535600b79ab6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_13_intel.whl

Download URL PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_13_intel.whl
Size 148.5 MB
Tags CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 abi3 macOS 10.13+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
976cacf01ef3b397a680f9228af7d3d6273b9254457ad4204731507c1f9e6c3c
BLAKE2b-256 checksum
How to use checksums
ea8b89a08213898f2e2402affa78139fa75152ec448c8334c80000eb57985afd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / PySide2-5.15.2-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl

Download URL PySide2-5.15.2-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl
Size 163.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
0558ced3bcd7f9da638fa8b7709dba5dae82a38728e481aac8b9058ea22fcdd9
BLAKE2b-256 checksum
How to use checksums
5d3b49dbaf8910a4983c7ba08c342fdadada5f909206ce0dce88ec4aa203e7f3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / PySide2-5.15.2-5.15.2-cp27-cp27m-macosx_10_13_intel.whl

Download URL PySide2-5.15.2-5.15.2-cp27-cp27m-macosx_10_13_intel.whl
Size 148.1 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.13+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
4f17a0161995678110447711d685fcd7b15b762810e8f00f6dc239bffb70a32e
BLAKE2b-256 checksum
How to use checksums
e48cb32b3a980513f5b7b8c5a4a481d659a372ac5ecb7b5adbfaec49684889d9
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page