A lazy table viewer with narwhals-backed query pushdown, for Marimo or Juptyer
Project description
tablescope
tablescope is a Marimo-oriented lazy table viewer. It accepts a dataframe-like
object that Narwhals can normalize, keeps sort and aggregation work pushed down
to the underlying engine, and renders a Solid + TanStack data grid via
anywidget.
Install
pip install tablescope
Status
This is a first pass focused on:
- lazy row paging with backend pushdown
- arbitrary fraction jumps through the dataset
- per-column profile stats
- value counts for enum-like columns
- keyboard navigation in the grid
Usage
import marimo as mo
import polars as pl
import tablescope
lf = pl.scan_parquet("data.parquet")
viewer = tablescope.view(lf, page_size=100)
viewer
Release
Use the justfile to build and validate the package artifacts before
uploading them to PyPI.
just check-release
just publish
Frontend build
The frontend bundle is generated from frontend/src and inlined into
src/tablescope/_frontend.py.
npm install
npm run build
Python workflow
just sync
just test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tablescope-0.2.0.tar.gz.
File metadata
- Download URL: tablescope-0.2.0.tar.gz
- Upload date:
- Size: 47.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2180bd5582d2cf54c0de5d7edde63f8a0261c98d67d81c4b7055b223d4f2f964
|
|
| MD5 |
26a9a855f5ba0b0a2490f126f7588f46
|
|
| BLAKE2b-256 |
5f3637e445088ef5e26681d296209e9ffa8de917fb733042ff63abe29a6830bd
|
File details
Details for the file tablescope-0.2.0-py3-none-any.whl.
File metadata
- Download URL: tablescope-0.2.0-py3-none-any.whl
- Upload date:
- Size: 49.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
371eeade0f0dc5d1735ba59a4c4a1d638d1811b8b625826dded15ed3d628f58f
|
|
| MD5 |
e3f6078724f4abf0332ca726e95dabf2
|
|
| BLAKE2b-256 |
30b27ab555b4b8900c268ea267aac5dd6ad5fd14c92b303fd815fc1b91ba7bea
|