streamlit-chrono
Streamlit port of the react-chrono library. Allows for the rendering of timelines with cards.
Installation instructions
pip install streamlit-chrono
Usage instructions
The streamlit_chrono API is similar to react-chrono interface.
See the documentation at https://github.com/prabhuignoto/react-chrono
import streamlit as st
import json
from streamlit_chrono import chrono
items=[
{"title": "Home"},
{"title": "Workflow"},
{"title": "Diagnostic Features"},
{"title": "Referential Groups"},
{"title": "Review Changes"},
{"title": "Run Workflow"},
]
active_item_index=0
current_item = chrono(
items=items,
active_item_index=active_item_index
)
st.write(json.dumps(current_item, indent=4))
Metadata
Release files for streamlit-chrono 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| streamlit-chrono-0.0.2.tar.gz | 570.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_chrono-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.7 MB
Release files / streamlit-chrono-0.0.2.tar.gz
| Download URL | streamlit-chrono-0.0.2.tar.gz |
|---|---|
| Size | 570.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3b641bca8b05953fad6a16603adde4166a11f2f7de73d9943a9fa5e09a4c611
|
|
BLAKE2b-256 checksum How to use checksums |
42523e3fefb6a910eaa15019661c4372f4f10feda8debd0abecbfd3ec39ccebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / streamlit_chrono-0.0.2-py3-none-any.whl
| Download URL | streamlit_chrono-0.0.2-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49ca6418527564fa77a25fa1a548d2a46cf2f1744c417362e75f5f4f39c3dd31
|
|
BLAKE2b-256 checksum How to use checksums |
bd31c42bc4c4229c82b45d09ebee6665e685d1d73187643a605397704f183f41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|