Skip to main content

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}
)

EditingTable

Installation

Install the latest ipyvuetable version with:

pip install ipyvuetable

Benefit from keyboard events with:

pip install ipyvuetable[ipyevents]

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

ipyvuetable-0.7.18.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipyvuetable-0.7.18-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file ipyvuetable-0.7.18.tar.gz.

File metadata

  • Download URL: ipyvuetable-0.7.18.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.7

File hashes

Hashes for ipyvuetable-0.7.18.tar.gz
Algorithm Hash digest
SHA256 c505935a33a29b72e5411f5e7f6698052bb2f88aeb34707a68244ba999c55f23
MD5 601e97b231316bf4cd9232b10e06a497
BLAKE2b-256 c6a025ea70a60a8183af1929854399f5f3cfb2f359a22f4630da75f88163fc21

See more details on using hashes here.

File details

Details for the file ipyvuetable-0.7.18-py3-none-any.whl.

File metadata

File hashes

Hashes for ipyvuetable-0.7.18-py3-none-any.whl
Algorithm Hash digest
SHA256 163bfb0c8fae78df3bcc07292341e82874d5ed3b3c13b4dd6483a401938c9fed
MD5 9163b520a7e2b5a675815abf37e4d168
BLAKE2b-256 d1e34f7f5fa456a7fe54d8bb9b467fe820be52359b5da1485f56cfbf4df2c8fb

See more details on using hashes here.

Supported by

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