All Projects → spyder-ide → Qtpy

spyder-ide / Qtpy

Licence: mit
Provides an uniform layer to support PyQt5, PySide2, PyQt4 and PySide with a single codebase

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Qtpy

Vscode Qt For Python
Qt for Python (PyQt5 and PySide2) extension for Visual Studio Code.
Stars: ✭ 47 (-90.45%)
Mutual labels:  pyqt, pyside
Scihubeva
A Cross Platform Sci-Hub GUI Application
Stars: ✭ 683 (+38.82%)
Mutual labels:  pyqt, pyside
QtPyConvert
An automatic Python Qt binding transpiler to the Qt.py abstraction layer.
Stars: ✭ 66 (-86.59%)
Mutual labels:  pyside, pyqt
Picacg Windows
哔咔漫画window客户端,界面使用PySide2,已实现分类、搜索、收藏夹、下载、在线观看、waifu2x等功能。
Stars: ✭ 35 (-92.89%)
Mutual labels:  pyqt, pyside
Upyide
Micropython IDE
Stars: ✭ 57 (-88.41%)
Mutual labels:  pyqt, pyside
Stackoverflow
my answers in Stack Overflow
Stars: ✭ 211 (-57.11%)
Mutual labels:  pyqt, pyside
PyQtDarkTheme
A flat dark theme for PySide and PyQt.
Stars: ✭ 50 (-89.84%)
Mutual labels:  pyside, pyqt
pi-cloud-frame
An icloud-powered digital frame running on a Raspberry Pi. Downloads a random sample of photos from your icloud account, crops them to the correct aspect ratio and displays them. Supports parallel slideshows, interactive menus, GPS/EXIF lookup and auto rotation via a MPU-6050 accelerometer.
Stars: ✭ 21 (-95.73%)
Mutual labels:  pyqt
QtExamples
Translations of the official Qt examples into PyQt5 (also PySide2) and more.
Stars: ✭ 39 (-92.07%)
Mutual labels:  pyqt
pyside2
Placeholder repository for the Gitter chat room
Stars: ✭ 16 (-96.75%)
Mutual labels:  pyside
argparseui
automagically add a PyQt based UI to setup options to an argparse based command-line tool
Stars: ✭ 23 (-95.33%)
Mutual labels:  pyqt
modern-login
A simple login form built with PyQt 5
Stars: ✭ 35 (-92.89%)
Mutual labels:  pyqt
PYQT StyleDesigner
PYQT Stylesheet designer tool for Stylesheet creation
Stars: ✭ 30 (-93.9%)
Mutual labels:  pyqt
IPRadar2
Real-time detection and defense against malicious network activity and policy violations (exploits, port-scanners, advertising, telemetry, state surveillance, etc.)
Stars: ✭ 20 (-95.93%)
Mutual labels:  pyqt
Turkce Python Kaynaklari
Türkçe olarak hazırlanmış Python programlama dili ile ilgili içeriklerin derlendiği sayfa.
Stars: ✭ 295 (-40.04%)
Mutual labels:  pyqt
Python-MongoDB-Example
A Live working Example Application of Python, Qt, PySide2, MongoDB, PyMongo, QTreeView, QAbstractTableModel
Stars: ✭ 41 (-91.67%)
Mutual labels:  pyside
Resetter
The easiest way to reset your debian or ubuntu based linux back to stock
Stars: ✭ 333 (-32.32%)
Mutual labels:  pyqt
Pyqt
PyQt Examples(PyQt各种测试和例子) PyQt4 PyQt5
Stars: ✭ 3,783 (+668.9%)
Mutual labels:  pyside
KoHighlights
KOHighlights is a utility for viewing KOReader's highlights and/or export them to simple text, csv or html files.
Stars: ✭ 62 (-87.4%)
Mutual labels:  pyside
pyqt-resources
Tips and code snippets for PyQt developers
Stars: ✭ 26 (-94.72%)
Mutual labels:  pyqt

QtPy: Abstraction layer for PyQt5/PyQt4/PySide2/PySide

license pypi version conda version download count OpenCollective Backers Join the chat at https://gitter.im/spyder-ide/public
PyPI status Build status CircleCI Coverage Status

Copyright © 2009–2019 The Spyder Development Team

Description

QtPy is a small abstraction layer that lets you write applications using a single API call to either PyQt or PySide.

It provides support for PyQt5, PyQt4, PySide2 and PySide using the Qt5 layout (where the QtGui module has been split into QtGui and QtWidgets).

Basically, you can write your code as if you were using PySide2 but import Qt modules from qtpy instead of PySide2 (or PyQt5)

Attribution and acknowledgments

This project is based on the pyqode.qt project and the spyderlib.qt module from the Spyder project, and also includes contributions adapted from qt-helpers, developed as part of the glue project.

Unlike pyqode.qt this is not a namespace package, so it is not tied to a particular project or namespace.

License

This project is released under the MIT license.

Requirements

You need PyQt5, PyQt4, PySide2 or PySide installed in your system to make use of QtPy. If several of these packages are found, PyQt5 is used by default unless you set the QT_API environment variable.

QT_API can take the following values:

  • pyqt5 (to use PyQt5).
  • pyqt or pyqt4 (to use PyQt4).
  • pyside2 (to use PySide2)
  • pyside (to use PySide).

Installation

pip install qtpy

or

conda install qtpy

Contributing

Everyone is welcome to contribute!

Sponsors

Become a sponsor to get your logo on our README on Github.

Sponsors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].