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.3.tar.gz (12.5 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.3-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: routelit_glide_data_grid-0.0.3.tar.gz
  • Upload date:
  • Size: 12.5 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.3.tar.gz
Algorithm Hash digest
SHA256 a7e3ae9ee99490229a8e58b7d15f12fbe603049956d59776d12fa694bab6417d
MD5 c068f85504df7ee9555a5c0f3e90cacf
BLAKE2b-256 ed13291e10e95259c42b5400ee70db9566454beaa1d321936d4cdac26adcfa7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: routelit_glide_data_grid-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bc1d30b671d43993eb12ae3c7f26e9cb67fcdb6e3519322236a2c2c6b6877b53
MD5 8ea45aca436dd04188ffb7f581f6a8ad
BLAKE2b-256 e31004cc765d6b6aa82d994daf21c8cd65b5295c62ff02f9c0c92699a6c475a9

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