Skip to main content

qtextra

License PyPI Python Version Test codecov

Extra widgets and dialogs for PyQt/PySide via qtpy

qtextra packages reusable Qt widgets, dialogs, and helpers that sit on top of PyQt/PySide through qtpy. The library focuses on opinionated, application-level building blocks such as searchable comboboxes, step progress indicators, styled buttons, collapsible sections, and utility dialogs.

qtextra widget showcase

Components are tested on:

  • macOS, Windows & Linux
  • Python 3.10 and above
  • PyQt5 (5.11 and above) & PyQt6
  • PySide2 (5.11 and above) & PySide6

The project overlaps somewhat with superqt, but it leans more heavily into application-ready widgets and bundled styling in src/qtextra/assets/stylesheets.

Documentation

Documentation is available at https://lukasz-migas.github.io/qtextra/

Installation

pip install qtextra

Optional extras:

pip install "qtextra[console,sentry]"

Quick Start

from qtpy.QtWidgets import QApplication, QVBoxLayout, QWidget

from qtextra.config import THEMES
from qtextra.widgets.qt_collapsible import QtCheckCollapsible
from qtextra.widgets.qt_progress_step import QtStepProgressBar

app = QApplication([])

window = QWidget()
layout = QVBoxLayout(window)

steps = QtStepProgressBar()
steps.labels = ["Load", "Validate", "Export"]
steps.value = 2
layout.addWidget(steps)

details = QtCheckCollapsible("Advanced options")
details.addRow("Status", QWidget())
layout.addWidget(details)

THEMES.apply(window)
window.show()
app.exec_()

A larger showcase example is available at examples/qt_readme_showcase.py.

Documentation

Contributing

Contributions are always welcome. Please feel free to submit PRs with new features, bug fixes, or documentation improvements.

git clone https://github.com/lukasz-migas/qtextra.git

pip install -e ".[dev]"
pytest

Metadata

Release files for qtextra 0.3.0

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

Source distribution (sdist)

Source distribution for qtextra 0.3.0
File Size Uploaded Provenance Actions
qtextra-0.3.0.tar.gz 1.5 MB Without provenance Details for qtextra-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qtextra 0.3.0
File Interpreter ABI Platform Actions
qtextra-0.3.0-py3-none-any.whl Python 3 none any Details for qtextra-0.3.0-py3-none-any.whl

Total release size: 2.4 MB

Release files / qtextra-0.3.0.tar.gz

Download URL qtextra-0.3.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
3751f713552f4a4a241e99dc82a5fb6da1958ff13c9ddd3def5c77ef3782a334
BLAKE2b-256 checksum
How to use checksums
f4847d39bba2fde6aeb7135895af2f7795818cab053991633bae857675e2ff67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / qtextra-0.3.0-py3-none-any.whl

Download URL qtextra-0.3.0-py3-none-any.whl
Size 930.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5560a06cce701e151a9dbd8a4a0a0410e15f356ca7364767d490a9dd88a1d848
BLAKE2b-256 checksum
How to use checksums
9ce33c5d50481cc489c947b08498d2effb018ec7527e9b4bd6593e789b1b38fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for qtextra 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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