PablocFonseca / streamlit-aggrid

Implementation of Ag-Grid component for Streamlit
https://pypi.org/project/streamlit-aggrid/
MIT License
1.05k stars 199 forks source link
component grid streamlit table

streamlit-aggrid

Open in Streamlit GitHub PyPI Downloads


[!WARNING] v1.0.0 breaks compatibility with previous versions and many people reached me to say that it is unstable.
Main changes are on gridReturn object as I'm moving heavy processment to python side.
I'm working to stabilize it, if you find any issues, please open a topic on the issue tracker
with a reproductile example, if possible.
Meanwhile use the last v.0.3.4 if things are not working for you! I hope to have everything fixed soon.

If you want to sponsor or support this project you can mail me.
You may want to Buy me a coffee or Paypal

Live examples and documentation on Streamlit Cloud


AgGrid is an awesome grid for web frontend. More information in https://www.ag-grid.com/. Consider purchasing a license from Ag-Grid if you are going to use enterprise features!

Current AgGrid version is 31.3.0

Install

pip install streamlit-aggrid

Quick Use

Create an example.py file

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)

Run :

streamlit run example.py

Demo

Grid data is sent back to streamlit and can be reused in other components. In the example below a chart is updated on grid edition.

example image

Development Notes

Version 1.0.5

Version 1.0.4

Version 1.0.2

Version 0.3.5

Version 0.3.4

Version 0.3.3

Version 0.3.0

Version 0.2.3

Version 0.2.2

Version 0.2.0

Version 0.1.9

Version 0.1.8

Version 0.1.7

Version 0.1.6

Version 0.1.5

Version 0.1.3

Version 0.1.2

Version 0.1.0: