Table widget for Jupyter Notebook and JupyterLab
Project description
ipyvuetable
Fast and customizable table widget for the Jupyter ecosystem build on ipyvuetify and Polars.
ipyvuetable can sort, filter, edit large polars.LazyFrame in a paginated way.
You can easily customize you table widget, add actions, hide columns, add special visualisation for some columns and benefit from all the ipyvuetify customization
from ipyvuetable import EditingTable, Table
import polars as pl
df = (
pl.LazyFrame({
'id': range(6),
'name': ['Tom', 'Joseph', 'Krish', 'John', 'Alice', 'Bod'],
'birthday': ['01-03-1995', '27-01-1999', '24-07-1977', '27-12-1970', '17-07-2005', '19-09-2001'],
'score': [3.5, 4.0, 7.5, 1.0, 6.5, 8.2],
'bool': [True, True, False, True, False, True]
})
.with_columns(pl.col('birthday').str.strptime(pl.Datetime, "%d-%m-%Y"))
)
name_custom_repr = pl.LazyFrame({
'name' : ['Tom', 'Joseph', 'Krish', 'John', 'Alice', 'Bod'],
'name__repr' : ['Tom - 🐬', 'Joseph - 🐟', 'Krish - 🐠 ', 'John - 🦐', 'Alice - 🦞', 'Bob - 🐌']
})
EditingTable(
df = df,
title = 'My table',
show_filters=True,
columns_to_hide = ['id'],
# all ipyvuetify options
show_select = True,
columns_repr = {'name' : name_custom_repr}
)
Installation
Install the latest ipyvuetable version with:
pip install ipyvuetable
Benefit from keyboard events with:
pip install ipyvuetable[ipyevents]
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 ipyvuetable-0.7.20.tar.gz.
File metadata
- Download URL: ipyvuetable-0.7.20.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b3df48191de2d8c02673d2b7d37590fb90f5a3c5d79fbb0a424bdca8c4c7156
|
|
| MD5 |
82ae45e8270a3823f4bd96a86be9540a
|
|
| BLAKE2b-256 |
90c28f80decedb47f9f9699beffc0a0b0db3b9ba95ad7f1864bdb4114be15cc8
|
File details
Details for the file ipyvuetable-0.7.20-py3-none-any.whl.
File metadata
- Download URL: ipyvuetable-0.7.20-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63a5daf2ffeb64562f28b1be86034e37d3a04495f0e5c36c9580bdb8772f2ba2
|
|
| MD5 |
c577019bdbcf518a77f1d567665e92f9
|
|
| BLAKE2b-256 |
5c7f0cd48c9706a31cb5fa72c30f9068323595d1e87867afaaa5a047d1f11797
|