dev-python/qtpy (pkalin)

Search

Notice: Older versions of this package were moved to dev-python/qt-py.

Install

Install this package:

emerge -a dev-python/qtpy

Package Information

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 PyQt6, PyQt5 and PySide6. Basically, you can write your code as if you were using PyQt6 but import Qt modules from qtpy instead of PyQt6 (or PySide6)
Homepage:
https://github.com/spyder-ide/qtpy/ https://pypi.org/project/QtPy/
License:
MIT

Versions

Version EAPI Keywords Slot
2.4.3_pre99 8 amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>python@gentoo.org</email>
		<name>Gentoo Python Project</name>
	</maintainer>
	<maintainer type="person">
		<email>nowa@gentoo.org</email>
		<name>Nowa Ammerlaan</name>
	</maintainer>
	<longdescription>
		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 PyQt6, PyQt5 and PySide6.
		Basically, you can write your code as if you were using PyQt6 but import Qt modules from qtpy instead of PyQt6 (or PySide6)
	</longdescription>
	<stabilize-allarches></stabilize-allarches>
	<use>
		<flag name="pyqt6">Use <pkg>dev-python/pyqt6</pkg> as Qt for Python implementation</flag>
		<flag name="pyside6">Use <pkg>dev-python/pyside</pkg> as Qt for Python implementation</flag>
		<flag name="designer">Pull in bindings for the QtDesigner module and enable the designer plugin</flag>
		<flag name="gui">Pull in bindings for the QtGui module</flag>
		<flag name="help">Pull in bindings for the QtHelp module</flag>
		<flag name="multimedia">Pull in QtMultimedia and QtMultimediaWidgets modules</flag>
		<flag name="network">Pull in bindings for the QtNetwork module</flag>
		<flag name="nfc">Pull in bindings for the QtNFC module</flag>
		<flag name="opengl">Pull in bindings for the QtOpenGL module</flag>
		<flag name="pdfium">Pull in bindings for the QtPDFium module</flag>
		<flag name="positioning">Pull in bindings for the QtPositioning module</flag>
		<flag name="printsupport">Pull in bindings for the QtPrintSupport module</flag>
		<flag name="qml">Build bindings for the QtQml</flag>
		<flag name="quick">Build bindings for the QtQuick</flag>
		<flag name="quick3d">Build bindings for the QtQuick3D</flag>
		<flag name="remoteobjects">Pull in bindings for the QtRemoteObjects module</flag>
		<flag name="scxml">Pull in bindings for the QtScXml module</flag>
		<flag name="sensors">Pull in bindings for the QtSensors module</flag>
		<flag name="serialport">Pull in bindings for the QtSerialPort module</flag>
		<flag name="spatialaudio">Pull in bindings for the QtSpatialAudio module</flag>
		<flag name="speech">Pull in bindings for the QtTextToSpeech module</flag>
		<flag name="sql">Pull in bindings for the QtSql module</flag>
		<flag name="svg">Pull in bindings for the QtSvg module</flag>
		<flag name="testlib">Pull in bindings for the QtTest module</flag>
		<flag name="webchannel">Pull in bindings for the QtWebChannel module</flag>
		<flag name="webengine">Pull in QtWebEngine and QtWebEngineWidgets modules</flag>
		<flag name="websockets">Pull in bindings for the QtWebSockets module</flag>
		<flag name="widgets">Pull in bindings for the QtWidgets module</flag>
		<flag name="xml">Pull in QtXml module</flag>
	</use>
	<upstream>
		<remote-id type="github">spyder-ide/qtpy</remote-id>
		<remote-id type="pypi">QtPy</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/qtpy | euse -E <flag> -p dev-python/qtpy | euse -D <flag> -p dev-python/qtpy

Flag Description 2.4.3_pre99
bluetooth ⚠️ ✓
dbus ⚠️ ✓
designer Pull in bindings for the QtDesigner module and enable the designer plugin ✓
gui Pull in bindings for the QtGui module ⊕
help Pull in bindings for the QtHelp module ✓
multimedia Pull in QtMultimedia and QtMultimediaWidgets modules ✓
network Pull in bindings for the QtNetwork module ⊕
nfc Pull in bindings for the QtNFC module ✓
opengl Pull in bindings for the QtOpenGL module ✓
pdfium Pull in bindings for the QtPDFium module ✓
positioning Pull in bindings for the QtPositioning module ✓
printsupport Pull in bindings for the QtPrintSupport module ✓
pyqt6 Use <pkg>dev-python/pyqt6</pkg> as Qt for Python implementation ⊕
pyside6 Use <pkg>dev-python/pyside</pkg> as Qt for Python implementation ✓
qml Build bindings for the QtQml ✓
quick Build bindings for the QtQuick ✓
quick3d Build bindings for the QtQuick3D ✓
remoteobjects Pull in bindings for the QtRemoteObjects module ✓
scxml Pull in bindings for the QtScXml module ✓
sensors Pull in bindings for the QtSensors module ✓
serialport Pull in bindings for the QtSerialPort module ✓
spatialaudio Pull in bindings for the QtSpatialAudio module ✓
speech Pull in bindings for the QtTextToSpeech module ✓
sql Pull in bindings for the QtSql module ⊕
svg Pull in bindings for the QtSvg module ✓
testlib Pull in bindings for the QtTest module ✓
vulkan ⚠️ ✓
webchannel Pull in bindings for the QtWebChannel module ✓
webengine Pull in QtWebEngine and QtWebEngineWidgets modules ✓
websockets Pull in bindings for the QtWebSockets module ✓
widgets Pull in bindings for the QtWidgets module ⊕
xml Pull in QtXml module ⊕

Manifest

Type File Size Versions
Unmatched Entries
Type File Size
DIST qtpy-2.4.3.tar.gz 66982 bytes