Metadata-Version: 2.1
Name: dataframe_with_buttons
Version: 0.0.1
Summary: Display Dataframe with buttons
Home-page: 
Author: Rishabh Jain
Author-email: rishabh_jain@hakkoda.io
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: streamlit>=0.63
Requires-Dist: pandas
Provides-Extra: devel
Requires-Dist: wheel; extra == "devel"
Requires-Dist: pytest==7.4.0; extra == "devel"
Requires-Dist: playwright==1.48.0; extra == "devel"
Requires-Dist: requests==2.31.0; extra == "devel"
Requires-Dist: pytest-playwright-snapshot==1.0; extra == "devel"
Requires-Dist: pytest-rerunfailures==12.0; extra == "devel"

# Dataframe with button

Streamlit component that allows you to display Dataframe with a button

## Installation instructions

```sh
pip install dataframe_with_button
```

## Usage instructions

```python
import streamlit as st
import pandas as pd
from dataframe_with_button import custom_dataframe

df = pd.DataFrame({
    "BATCH_ID": ["item1", "item2", "item3"],
    "Name": ["Apple", "Banana", "Cherry"],
    "Price": [1.2, 0.8, 2.5],
})

# Invoke custom component
result = custom_dataframe(df, clickable_column="BATCH_ID")
st.write(f'Button {result} was clicked')
```
