EzQt-Widgets
EzQt-Widgets provides ready-made, typed PySide6 widgets for desktop applications: date pickers, loading buttons, search and password fields, toggle switches, notification banners and more, all usable like standard Qt widgets.
📦 Installation
Requires Python 3.13 or newer; Python 3.13 and 3.14 are tested.
uv add ezqt-widgets
Or with pip:
pip install ezqt-widgets
Or from source:
git clone https://github.com/neuraaak/ezqt-widgets.git
cd ezqt-widgets && uv sync --group dev
🚀 Quick Start
from ezqt_widgets import DateButton, IconButton, ToggleSwitch, AutoCompleteInput
from PySide6.QtWidgets import QApplication, QVBoxLayout, QWidget
app = QApplication([])
window = QWidget()
layout = QVBoxLayout()
# Create widgets
date_button = DateButton(placeholder="Select a date")
icon_button = IconButton(icon="path/to/icon.png", text="Click me")
toggle = ToggleSwitch(checked=True)
auto_input = AutoCompleteInput(suggestions=["Option 1", "Option 2", "Option 3"])
# Connect signals
date_button.dateChanged.connect(lambda date: print(f"Date: {date}"))
icon_button.clicked.connect(lambda: print("Button clicked"))
toggle.toggled.connect(lambda checked: print(f"Toggle: {checked}"))
# Add to layout
layout.addWidget(date_button)
layout.addWidget(icon_button)
layout.addWidget(toggle)
layout.addWidget(auto_input)
window.setLayout(layout)
window.show()
app.exec()
🎯 Key Features
- ✅ Standard PySide6 Widgets: Every class works in Qt layouts, signals and slots
- ✅ Typed API: Type hints and a
py.typedmarker for IDEs and type checkers - ✅ QSS Styling: Class selectors for application stylesheets, with documented limits
- ✅ Light and Dark Icons: One
setTheme()call recolors a widget's icons - ✅ Animated Feedback: Loading states, sliding toggles, banners and collapsible sections
- ✅ Interactive Demos:
ezqt-widgets demo run --allopens every widget category
📚 Documentation
Full documentation is available online: neuraaak.github.io/ezqt-widgets
- 📖 Getting Started – Installation and first steps
- 🧭 Guides – Choose a widget, read input, show feedback, style and theme
- 🎯 API Reference – Parameters, properties, methods and signals of every widget
- 🎨 QSS Style Reference – Selectors and styling limits per widget
- 💡 Demos – Explore the bundled demonstrations
- 🖥️ CLI – Command-line reference
- 🩺 Troubleshooting and ❓ FAQ – Fixes and short answers
- 🧪 Testing – Test suite documentation
- 🔧 Development – Environment setup and contribution
🧪 Testing
The test suite covers widgets, CLI contracts and development tooling on Python 3.13 and 3.14.
# Install dev dependencies
uv sync --group dev
# Run all tests
uv run poe test
# Run specific test types
uv run poe test-unit
# With coverage
uv run poe test-ci
# Full quality gate
uv run poe check
See the Testing Guide for complete details.
🛠️ Development Setup
For contributors and developers:
# Clone and install in development mode
git clone https://github.com/neuraaak/ezqt-widgets.git
cd ezqt-widgets
uv sync --group dev
# Install pre-commit hooks
uv run pre-commit install
# Verify CLI installation
uv run ezqt-widgets --version
See the Development Guide for detailed setup instructions.
🎨 Available Widgets
🎛️ Button Widgets (4)
| Widget | Description |
|---|---|
| DateButton | Date picker button with integrated calendar |
| DatePickerDialog | Modal calendar dialog for date selection |
| IconButton | Button with icon support and optional text |
| LoaderButton | Button with integrated loading animation |
⌨️ Input Widgets (6)
| Widget | Description |
|---|---|
| AutoCompleteInput | Text field with autocompletion |
| FilePickerInput | Field with folder button opening a file/directory dialog |
| PasswordInput | Password field with strength bar and visibility toggle |
| SearchInput | Search field with history management |
| SpinBoxInput | Numeric spin box with − and + buttons |
| TabReplaceTextEdit | Text editor with tab replacement |
🏷️ Label Widgets (4)
| Widget | Description |
|---|---|
| ClickableTagLabel | Clickable tag with toggle state |
| FramedLabel | Framed label for advanced styling |
| HoverLabel | Label with hover icon display |
| IndicatorLabel | Status indicator with colored LED |
🔧 Miscellaneous Widgets (9)
| Widget | Description |
|---|---|
| CircularTimer | Animated circular timer |
| CollapsibleSection | Accordion-style section with expand/collapse animation |
| DraggableItem | Draggable list item component |
| DraggableList | List with draggable and reorderable items |
| NotificationBanner | Animated slide-down banner with INFO/WARNING/ERROR/SUCCESS levels |
| OptionSelector | Option selector with animated selector |
| ThemeIcon | QIcon that adapts color to the active dark/light theme |
| ToggleIcon | Toggleable icon (open/closed states) |
| ToggleSwitch | Modern toggle switch with animation |
📦 Dependencies
- PySide6>=6.7.3,<7.0.0 – Qt for Python framework
- ezplog>=2.4.1 – Logging framework and CLI dependencies
- typer>=0.29.3 – Typed command-line interface
- rich>=13.0.0 – Terminal formatting and output
- PyYAML>=6.0 – YAML configuration support
🔧 Quick API Reference
from ezqt_widgets import (
# Button widgets
DateButton, DatePickerDialog, IconButton, LoaderButton,
# Input widgets
AutoCompleteInput, FilePickerInput, PasswordInput,
SearchInput, SpinBoxInput, TabReplaceTextEdit,
# Label widgets
ClickableTagLabel, FramedLabel, HoverLabel, IndicatorLabel,
# Misc widgets
CircularTimer, CollapsibleSection, DraggableItem, DraggableList,
NotificationBanner, OptionSelector, ThemeIcon, ToggleIcon, ToggleSwitch,
)
# Button examples
date_btn = DateButton(placeholder="Select date")
icon_btn = IconButton(icon="path/to/icon.png", text="Click")
loader_btn = LoaderButton(loading_text="Loading...")
# Input examples
auto_input = AutoCompleteInput(suggestions=["A", "B", "C"])
search_input = SearchInput(max_history=20)
spin_box = SpinBoxInput(minimum=0, maximum=100, value=50)
# Misc examples
timer = CircularTimer(duration=5000, loop=True)
switch = ToggleSwitch(checked=True)
selector = OptionSelector(items=["Small", "Medium", "Large"])
📄 License
MIT License – See LICENSE file for details.
🔗 Links
- Repository: https://github.com/neuraaak/ezqt-widgets
- Issues: GitHub Issues
- Documentation: neuraaak.github.io/ezqt-widgets
- PyPI: pypi.org/project/ezqt-widgets
- Release notes: neuraaak.github.io/ezqt-widgets/changelog
EzQt-Widgets – Modern, typed, and beautiful Qt widgets for Python. 🎨
Metadata
Release files for ezqt-widgets 2.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ezqt_widgets-2.8.1.tar.gz | 175.9 kB | Without provenance | Details for ezqt_widgets-2.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ezqt_widgets-2.8.1-py3-none-any.whl | Python 3 | none | any | Details for ezqt_widgets-2.8.1-py3-none-any.whl |
Total release size: 309.1 kB
Release files / ezqt_widgets-2.8.1.tar.gz
| Download URL | ezqt_widgets-2.8.1.tar.gz |
|---|---|
| Size | 175.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c68bbbc6a742c7b3271dce4042e180765181aa8de0c65c8354c24b4964c34033
|
|
BLAKE2b-256 checksum How to use checksums |
49e823f044d516eead4a9d77c6423a8de95a9bd295ca138c0b54bc0dfb77f22e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / ezqt_widgets-2.8.1-py3-none-any.whl
| Download URL | ezqt_widgets-2.8.1-py3-none-any.whl |
|---|---|
| Size | 133.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d41c40c3ec17e006856d44208ffd816468ef3c0a3d62b6c2c2cd67d2f8f77e1
|
|
BLAKE2b-256 checksum How to use checksums |
328a24ae34f91b0e61cb08ddb947427168a4672e0ce232138143fe9006a352ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for ezqt-widgets 2.8.1
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.