streamlit-timeline-demo
Streamlit component for rendering vis.js timeline with bidirectional communication.
Check out the GitHub repositories streamlit-timeline and streamlit-timeline-demo. For JavaScript examples, check out the vis.js timeline examples and documentation.
Installation
pip install streamlit-vis-timeline
Usage
import streamlit as st
from streamlit_timeline import st_timeline
st.set_page_config(layout="wide")
items = [
{"id": 1, "content": "2022-10-20", "start": "2022-10-20"},
{"id": 2, "content": "2022-10-09", "start": "2022-10-09"},
{"id": 3, "content": "2022-10-18", "start": "2022-10-18"},
{"id": 4, "content": "2022-10-16", "start": "2022-10-16"},
{"id": 5, "content": "2022-10-25", "start": "2022-10-25"},
{"id": 6, "content": "2022-10-27", "start": "2022-10-27"},
]
timeline = st_timeline(items, groups=[], options={}, height="300px")
st.subheader("Selected item")
st.write(timeline)
Demo
Metadata
Release files for streamlit-vis-timeline 0.3.0
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-vis-timeline-0.3.0.tar.gz | 1.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_vis_timeline-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.4 MB
Release files / streamlit-vis-timeline-0.3.0.tar.gz
| Download URL | streamlit-vis-timeline-0.3.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76d788eaf31512560e5a521944009f3bdd996eca4f2e941019f260e81be92f12
|
|
BLAKE2b-256 checksum How to use checksums |
d6873b34db238802abddc2a2f9f5834627e71957592855626d8fb18d300ad662
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / streamlit_vis_timeline-0.3.0-py3-none-any.whl
| Download URL | streamlit_vis_timeline-0.3.0-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1f1e3b2cc936e169de3cef26e95da46d2ff7e2d66e6cfb997a1942b58e28f7e
|
|
BLAKE2b-256 checksum How to use checksums |
e815d61d4413280520bb40d619e69f7f0db89f2d01d0ae0cbff8b96eef1cd437
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|