Skip to main content

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

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.4.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.4-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_aggrid_v2-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1b2b4e45c44dfc9a9758a2d629ef61caabe937b25a23f271df4c775937b5d1cf
MD5 df97c9a9f0c9d67df99671dce6097c54
BLAKE2b-256 b5f4469317def75edd8de7162e9b1593cfe298b626d74422f3c1380db94c25b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_aggrid_v2-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 94c790063f7fa31c504f8268162220fbaf3df12b83fb0b99e24b9a0adef4fd84
MD5 e66bee8ff9c7c8dfb32d0ee9db5face3
BLAKE2b-256 e324273a9fb22d884bce87a03327c4afb11caf2d8b2f5c0f30c5125e9854299e

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