Skip to main content

This is a routelit library repository for that uses uv for their dependency management.

Project description

RouteLit Glide Data Grid

Release Build status codecov License

routelit/glide-data-grid is a high-performance, interactive data grid and editor for RouteLit, powered by the incredible Glide Data Grid library.

Key Features

  • 🚀 Performance: Smoothly renders millions of rows with native-speed scrolling.
  • 📝 Data Editing: A powerful data_editor with validation and dynamic row management.
  • 🏗️ Advanced Layout:
    • Frozen Columns & Trailing Rows: Keep context visible while navigating large datasets.
    • Column Grouping: Merge headers into logical categories.
    • Row Markers: Custom index column with support for numbers, checkboxes, or both.
  • 🎨 Rich Column Types: Specialized cells for Text, Numbers, Dates, Images, Links, Markdown, and JSON.
  • 🧩 Flexible Data Formats: Supports pandas DataFrames, lists of dicts, dictionaries of lists, simple lists, and key-value mappings.
  • 🛡️ Robust Typing: Full Python type hints with specialized selection and configuration types.

Installation

pip install routelit-glide-data-grid

Quick Start

import pandas as pd
from routelit_glide_data_grid import RLBuilder, TextColumn

def app(ui: RLBuilder):
    df = pd.DataFrame({
        "Name": ["Alice", "Bob", "Charlie"],
        "Role": ["Engineer", "Designer", "Manager"]
    })

    ui.title("Project Dashboard")

    # Render an interactive grid
    ui.data_grid(
        df,
        freeze_columns=1,
        column_config={
            "Name": TextColumn(group="Identity"),
            "Role": TextColumn(group="Identity"),
        }
    )

Development

1. Set Up Environment

Install dependencies and pre-commit hooks:

make install

2. Frontend Development

Start the Vite dev server for the React component:

cd src/frontend
pnpm install
pnpm run dev

3. Backend Development

In another terminal, run the feature showcase app:

uv sync
uv run src/example/example.py

4. Quality Assurance

Run tests and linting before submitting changes:

make test
make check

Maintained by Rolando Gomez Tabar. Initially generated with routelit/rl-builder-cookiecutter-uv.

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

routelit_glide_data_grid-0.0.4.tar.gz (13.0 MB view details)

Uploaded Source

Built Distribution

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

routelit_glide_data_grid-0.0.4-py3-none-any.whl (523.4 kB view details)

Uploaded Python 3

File details

Details for the file routelit_glide_data_grid-0.0.4.tar.gz.

File metadata

  • Download URL: routelit_glide_data_grid-0.0.4.tar.gz
  • Upload date:
  • Size: 13.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for routelit_glide_data_grid-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b829ec1116a21475b805e93bb7e9fadf74744e26230236f04a978f17746f8926
MD5 93b78d19f6a156f7cd514af7e005b077
BLAKE2b-256 a45f51505fbab0b91f38bfc9712bfe74d890352bd67e45501c34f89de7eb9705

See more details on using hashes here.

File details

Details for the file routelit_glide_data_grid-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: routelit_glide_data_grid-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 523.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for routelit_glide_data_grid-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 33a9d1fd6bf7d02aa772e65b56ea53c994396db52b5a04aa8dd82e50f096b476
MD5 01ef4d75995c1e1ba085f40278c691fe
BLAKE2b-256 7ad0b96c5e6876a492852e02f6f02f2ac5366ca92989fee58f799f33cb5c1212

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