Skip to main content

AG Grid component for Streamlit — interactive tables, editing, filtering & more.

Reason this release was yanked:

front-end assets missing

Project description

streamlit-aggrid-v2

AG Grid component for Streamlit — interactive tables, editing, filtering & more.

Built on AG Grid v34.3.1.

Acknowledgments

This project is a continuation of streamlit-aggrid, originally created by Pablo Fonseca. Huge thanks to Pablo for building and maintaining the first version that the Streamlit community relied on for years.

Install

pip install streamlit-aggrid-v2

Quick Start

from st_aggrid import AgGrid
import pandas as pd

df = pd.read_csv(
    "https://raw.githubusercontent.com/fivethirtyeight/data/master/airline-safety/airline-safety.csv"
)
AgGrid(df)

Note: The Python import stays st_aggrid — only the pip install name changed.

streamlit run example.py

What's New in v2

  • No iframes — AG Grid renders directly in the Streamlit DOM via Custom Components v2 (CCv2), eliminating postMessage serialization overhead for large datasets.
  • Better theming — CSS --st-* variables auto-adapt to the active Streamlit theme. All four AG Grid themes (quartz, alpine, balham, material) supported with automatic dark mode detection.
  • Modern build — Vite + ESM replaces the legacy webpack/CRA toolchain.
  • Bug fixes — 25 bugs fixed from the original codebase (mutable defaults, Path handling, event listener leaks, theme issues, and more).
  • Maintained — Active development with semantic versioning and automated releases.

The public Python API (AgGrid(), GridOptionsBuilder, etc.) is fully backward compatible. Existing code should work by changing only the pip install line.

License

MIT

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

streamlit_aggrid_v2-0.1.0.tar.gz (53.3 kB view details)

Uploaded Source

Built Distribution

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

streamlit_aggrid_v2-0.1.0-py3-none-any.whl (59.5 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_aggrid_v2-0.1.0.tar.gz.

File metadata

  • Download URL: streamlit_aggrid_v2-0.1.0.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for streamlit_aggrid_v2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d71bda087433755dcaf4bad527696b2af318a062069600981e3cd5a7caf6b3e5
MD5 cbc80490cf470f9124ab33c88ac9e611
BLAKE2b-256 2d14f6ada0288c5b9153dd5f91b25d61223e7ee42418139a9efaf14501b3ee83

See more details on using hashes here.

File details

Details for the file streamlit_aggrid_v2-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_aggrid_v2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7b04a87f90cd0c3c23a9ade212e2c5992d47f599b71be63a6cdf2fc432d2b88
MD5 208daea4b77ba433f22324808f9509af
BLAKE2b-256 11dc5c83d9917d95cd91d73658cbfe7d7a2ffdba4ac726545d0748543d74299a

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