Skip to main content

Table Widget

PyPI version Docs status Unit test

The Table Widget is an interactive, customizable data table widget designed for notebooks. It allows you to visualize and interact with tabular data using an intuitive interface built with React and Material-UI. Follow this guide to get started quickly.

Key Features:

  1. Interactive Table: Supports editing, filtering, sorting, and pagination.
  2. Customizable Columns: Configure column types (e.g., numbers, buttons, links).
  3. Dynamic Styling: Adjust table styles dynamically.
  4. Event Handling: React to user interactions like row updates, button clicks, and row selection.
  5. Integration with Pandas: Easily load data from Pandas DataFrames.

Installation

pip install table_widget

Demo

Please try the widget in the following links: Colab

Documentation

Full documentation at: table-widget.readthedocs.io

Development

We recommend using uv for development. It will automatically manage virtual environments and dependencies for you.

uv run jupyter lab example.ipynb

Alternatively, create and manage your own virtual environment:

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
jupyter lab example.ipynb

The widget front-end code bundles it's JavaScript dependencies. After setting up Python, make sure to install these dependencies locally:

npm install

While developing, you can run the following in a separate terminal to automatically rebuild JavaScript as you make changes:

npm run dev

Open example.ipynb in JupyterLab, VS Code, or your favorite editor to start developing. Changes made in js/ will be reflected in the notebook.

Metadata

Release files for table-widget 0.0.3

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

Source distribution (sdist)

Source distribution for table-widget 0.0.3
File Size Uploaded
table_widget-0.0.3.tar.gz 251.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for table-widget 0.0.3
File Interpreter ABI Platform
table_widget-0.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 504.1 kB

Release files / table_widget-0.0.3.tar.gz

Download URL table_widget-0.0.3.tar.gz
Size 251.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b1ffa860aaffe6e46acecb331c3010aad03c5ac750c45d7d910a12eb530fe228
BLAKE2b-256 checksum
How to use checksums
6a6619e67dfaf7eb8b11057f9afcf528c80cd428e94a90481bec229d3a4ae23f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / table_widget-0.0.3-py2.py3-none-any.whl

Download URL table_widget-0.0.3-py2.py3-none-any.whl
Size 252.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
67bd6f90b38c5d6ea455a9c1b22be5bdbf5f0a31581466de447a166aa834b441
BLAKE2b-256 checksum
How to use checksums
aa9af157eb0061e370377042f73b8e18dc9ca29eb1c7d2ffd6118c62e4c99093
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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