Skip to main content

No project description provided

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

table_widget-0.0.3.tar.gz (251.7 kB view details)

Uploaded Source

Built Distribution

table_widget-0.0.3-py2.py3-none-any.whl (252.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file table_widget-0.0.3.tar.gz.

File metadata

  • Download URL: table_widget-0.0.3.tar.gz
  • Upload date:
  • Size: 251.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for table_widget-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b1ffa860aaffe6e46acecb331c3010aad03c5ac750c45d7d910a12eb530fe228
MD5 02d4fd872d676ecded8a807446792633
BLAKE2b-256 6a6619e67dfaf7eb8b11057f9afcf528c80cd428e94a90481bec229d3a4ae23f

See more details on using hashes here.

File details

Details for the file table_widget-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: table_widget-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 252.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for table_widget-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 67bd6f90b38c5d6ea455a9c1b22be5bdbf5f0a31581466de447a166aa834b441
MD5 7bb5ca408691cabfc4f4ac3068b28d04
BLAKE2b-256 aa9af157eb0061e370377042f73b8e18dc9ca29eb1c7d2ffd6118c62e4c99093

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page