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

Uploaded Python 3

File details

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

File metadata

  • Download URL: routelit_glide_data_grid-0.0.1.tar.gz
  • Upload date:
  • Size: 169.8 kB
  • 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.1.tar.gz
Algorithm Hash digest
SHA256 58b4dedeac5ad8efd0941dd5a614809eebba1fb7a7844c28ac5f8a29d5a8954f
MD5 e7b8965e73a265c0059d0a27e94cc2f0
BLAKE2b-256 6af0d6e561798a9ddf29a04132a2b72849255120d8733baf03a6468965144ee7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: routelit_glide_data_grid-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a08af1df5c53d3b5fef3ee6a37323bb91e6e8cb3509c5b93193705cc0ab336ce
MD5 9f134398b219c42ec5dd45051f340378
BLAKE2b-256 097a8a88fe5c3f548fb4490c7467953d5f7ab6ff8217ec7672dc3d5ad788d95d

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