Qventis UI (qventis-ui)
A modern desktop UI component library, declarative theme engine, and MySQL/SQLite database connectivity toolkit for PySide6 (Qt for Python).
Key Features
-
Pre-styled UI Primitives:
QMetricCard: Clean summary statistic card with title, metric value, and accent border.QStatusBadge: Pill-shaped status indicator supportingsuccess,warning,danger, andinfocolor states.QSearchField: Responsive search input with debounced text signals (debounced_text_changed) and instant clear button.QCardTableView: Table view with pre-configured alternating row colors, padding, and smooth row selection.
-
Declarative Theme Engine:
- Instant Qt Style Sheet (QSS) generator with customizable enterprise palettes (
mint,corporate-blue,graphite-dark,emerald).
- Instant Qt Style Sheet (QSS) generator with customizable enterprise palettes (
-
Database Connectors & Schema Export:
MySQLConnector: Connection testing, schema execution, and query helpers for MySQL and MariaDB servers.- Dual-engine fallback: Transparent failover from remote MySQL to local SQLite storage during network outages.
- Tabular schema exporter generating valid MySQL Workbench (InnoDB,
utf8mb4) and SQLite 3NF DDL scripts.
-
Data Ingestion Engine:
- Ingests tabular spreadsheet datasets (Excel
.xlsxor CSV) into normalized relational tables.
- Ingests tabular spreadsheet datasets (Excel
-
Reference Implementation:
- Built-in reference sample application (
qventis sample) demonstrating UI components, data bindings, and MySQL connectivity.
- Built-in reference sample application (
Installation
pip install qventis-ui
Quick Start
1. Interactive Component Showcase
Launch the built-in UI showcase to explore widgets and themes:
qventis preview
2. Using UI Components in PySide6
import sys
from PySide6.QtWidgets import QApplication, QMainWindow, QVBoxLayout, QWidget
from qventis.theme import get_theme_stylesheet
from qventis.widgets import QMetricCard, QStatusBadge, QSearchField
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("Operations Dashboard")
self.resize(600, 400)
container = QWidget()
layout = QVBoxLayout(container)
layout.addWidget(QMetricCard("Total Revenue", "$48,250", "+12% this month", accent="#2563EB"))
layout.addWidget(QStatusBadge("ACTIVE SESSION", variant="success"))
layout.addWidget(QSearchField("Search records..."))
self.setCentralWidget(container)
if __name__ == "__main__":
app = QApplication(sys.argv)
app.setStyleSheet(get_theme_stylesheet("corporate-blue"))
window = MainWindow()
window.show()
sys.exit(app.exec())
3. Testing MySQL Connectivity
Validate connection credentials against a target database server:
qventis connect --host 192.168.0.5 --port 3306 --user my_user --password my_pass --db my_db
4. Exporting Reference Sample Application
Export reference project components demonstrating widget usage and database integration:
# Export complete reference implementation
qventis sample ./my_project --module all
# Or export specific component modules:
qventis sample ./my_project --module db # Database gateway and config
qventis sample ./my_project --module ui # Main window, catalog view, and dialogs
qventis sample ./my_project --module test # Business rules and pytest suite
CLI Reference
usage: qventis [-h] [--version] {preview,theme,connect,export-ddl,import,sample,bench} ...
Qventis Enterprise UI & Database Connectivity Toolkit for PySide6
Commands:
preview Launch interactive PySide6 showcase window demonstrating UI components
theme Inspect or export declarative Qt stylesheets and palette variables
connect Verify network connectivity and credentials for MySQL / MariaDB / SQLite server
export-ddl Export table schema to strict MySQL (InnoDB) or SQLite DDL script
import Ingest tabular datasets (Excel / CSV) into relational database or DDL script
sample Export reference sample application demonstrating Qventis components
bench Execute microsecond UI event-loop latency benchmark
License
Licensed under the Apache License, Version 2.0.
Metadata
Release files for qventis-ui 0.5.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 |
|---|---|---|---|---|
| qventis_ui-0.5.1.tar.gz | 37.7 kB | Without provenance | Details for qventis_ui-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qventis_ui-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for qventis_ui-0.5.1-py3-none-any.whl |
Total release size: 82.5 kB
Release files / qventis_ui-0.5.1.tar.gz
| Download URL | qventis_ui-0.5.1.tar.gz |
|---|---|
| Size | 37.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfc767e7da4630b4221f64cea74925e6d4a72c057752810b1cec9d527be99181
|
|
BLAKE2b-256 checksum How to use checksums |
8a6dcb18d889d9e7bad3a5b0e7f51912a20b2f5ac25beb5418802a102012ce0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / qventis_ui-0.5.1-py3-none-any.whl
| Download URL | qventis_ui-0.5.1-py3-none-any.whl |
|---|---|
| Size | 44.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3b57c2deb9efc2cb420bd44390253da8a56ad6eb2e861f855006092a64307fb
|
|
BLAKE2b-256 checksum How to use checksums |
f3278673e227f20f7752fffd87ad71949480358c6350952351e9e7fd7f9b4883
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Security for qventis-ui 0.5.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.