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

Uploaded Python 3

File details

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

File metadata

  • Download URL: routelit_glide_data_grid-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c76d732a1efbc9ba93e22f9896f8bed259279908e879d26c8d88d9491a3761ad
MD5 404b361374f5b51df27c75841ae3167d
BLAKE2b-256 bc8604d330a775bc8dc144703bfadb08a1c0ec13ceb1aefa4a70645236a52168

See more details on using hashes here.

File details

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

File metadata

  • Download URL: routelit_glide_data_grid-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dacb13823eafac96b2c64a419612655b82959bd710753d23f19e3917412a901c
MD5 0c02f0bfba8e1f42432990e7b94b4904
BLAKE2b-256 13a990f5a5fbd8332525449b4b14a6e92a6c396f13d8eeb07a0616a40c8aa50b

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