CutePandas: Pandas models and widgets for Qt
CutePandas provides Qt item models, fast filter proxies and ready-made widgets for displaying pandas DataFrames in Qt applications, including MultiIndex rows and columns. It is built on prettyqt and works with PySide6 or PyQt6.
Documentation: https://phil65.github.io/cutepandas/
Installation
A Qt binding is required, pick one via an extra:
pip install "cutepandas[pyside6]"
# or
pip install "cutepandas[pyqt6]"
Quickstart
import pandas as pd
from prettyqt import widgets
from cutepandas import pandasmodels, pandaswidgets
app = widgets.app()
df = pd.DataFrame({"name": ["apple", "banana", "cherry"], "price": [1.2, 0.5, 3.0]})
# Composite viewer: data table plus synced row/column headers (MultiIndex aware)
viewer = pandaswidgets.DataFrameViewer(df)
viewer.show()
# Or use the models directly with any view, here with a fast string filter
model = pandasmodels.PandasDataFrameModel(df)
proxy = pandasmodels.PandasStringColumnFilterProxyModel()
proxy.setSourceModel(model)
proxy.set_filter_column(0)
proxy.set_search_term("b") # rows whose "name" starts with "b"
table = widgets.TableView()
table.set_model(proxy)
table.show()
app.exec()
Features
- Models:
PandasDataFrameModel(cells, MultiIndex levels joined by a configurable separator),VerticalHeaderModel/HorizontalHeaderModel(one cell per index level),PandasColumnListModel,PandasIndexListModel,PandasCategoryListModel. - Filter proxies that filter with NumPy boolean indexes instead of per-cell Python
calls, which is much faster than
QSortFilterProxyModelon large frames:PandasStringColumnFilterProxyModel,PandasMultiStringColumnFilterProxyModel,PandasEvalFilterProxyModel(filter with aDataFrame.evalexpression). - Widgets:
DataFrameViewer(data and header tables kept in sync, spans for MultiIndex),DataFrameWidget(viewer with docks for index, columns, categories anddf.attrs),DataFrameListWidgetandDataFrameManagerWidgetfor several DataFrames. - Optional
PolarsDataFrameModelincutepandas.pandasmodels.polarsdataframemodel(install thepolarsextra).
Development
uv sync --all-extras
uv run pytest
uv run ruff check . && uv run ty check
License
Metadata
Release files for cutepandas 0.4.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 |
|---|---|---|---|---|
| cutepandas-0.4.1.tar.gz | 29.2 kB | With provenance | Details for cutepandas-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cutepandas-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for cutepandas-0.4.1-py3-none-any.whl |
Total release size: 65.0 kB
Release files / cutepandas-0.4.1.tar.gz
| Download URL | cutepandas-0.4.1.tar.gz |
|---|---|
| Size | 29.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c13d3923aedbab2514fd91457c68c4893a8ec28fb21c8799e3ea2493a7d0f5da
|
|
BLAKE2b-256 checksum How to use checksums |
c859ba4f19e4fdd99a9ece831a014f1d771260fadad263d2e112782bd7ffe203
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / cutepandas-0.4.1-py3-none-any.whl
| Download URL | cutepandas-0.4.1-py3-none-any.whl |
|---|---|
| Size | 35.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e4a45ff769e6cc41c53931e459507f5d84f541fd4d95cea7e6bd173e350f20e
|
|
BLAKE2b-256 checksum How to use checksums |
5d594191ebff114471612497e8c21426318b46b1a682fa3a5404fbf4f53e27e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logSecurity for cutepandas 0.4.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cutepandas-0.4.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logA 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.