streamlit-arborist
streamlit-arborist is a Streamlit component based on react-arborist for visualizing hierarchical data structures as interactive tree views.
- Demo application: st-arborist-example.streamlit.app
- Documentation: streamlit-arborist.readthedocs.io
Installation
pip install streamlit-arborist
Basic usage
A minimal app.py file with sample data:
from streamlit_arborist import tree_view, tree_checkbox
data = [
{
"id": "1",
"name": "Parent 1",
"children": [
{"id": "1.1", "name": "Child 1"},
{"id": "1.2", "name": "Child 2"}
]
},
{
"id": "2",
"name": "Parent 2",
"children": [
{"id": "2.1", "name": "Child 3"},
{"id": "2.2", "name": "Child 4"}
]
}
]
tree_view(data)
tree_checkbox(data)
Run Streamlit:
streamlit run app.py
See the Reference API for all available parameters.
Development
This repository is based on streamlit/component-template template. Find details about custom components in Streamlit documentation.
See make help for all development commands.
Setup
The development environment requires
uv
and Node.js + npm installed.
See make help for all commands.
Install the dev Python environment defined in pyproject.toml
and npm packages in streamlit_arborist/frontend:
make setup
Running
While developing the frontend, you must set the environment variable STREAMLIT_ARBORIST_DEV=true.
(this is done in make commands)
-
Run the app/example.py app file with Streamlit:
make backend -
Start the component's frontend server:
make frontend
Open the app running at http://localhost:8501.
Build
Build the React frontend at streamlit_arborist/frontend/build/ directory and the Python
package wheels at dist/.
make build
Documentation
The documentation files are located in docs/ directory and written with Sphinx.
make -C docs build
Metadata
Release files for streamlit-arborist 0.4.1
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_arborist-0.4.1.tar.gz | 12.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_arborist-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.6 MB
Release files / streamlit_arborist-0.4.1.tar.gz
| Download URL | streamlit_arborist-0.4.1.tar.gz |
|---|---|
| Size | 12.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccb3fe6236af2ba5e8fec9fb6ba480e79e9360535b744fcb85df44e753a4e182
|
|
BLAKE2b-256 checksum How to use checksums |
65e036e8bdf2bbf938e03ff5bb8b6377e210fe47de1d2133cf145555dd9c2e97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logRelease files / streamlit_arborist-0.4.1-py3-none-any.whl
| Download URL | streamlit_arborist-0.4.1-py3-none-any.whl |
|---|---|
| Size | 12.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4e849c39fdf7cf4c49ef6ca7159008e3f9ca338eeeabf5db62b8462e87db64f
|
|
BLAKE2b-256 checksum How to use checksums |
e529ec227b19cf5be41fb7af332ac7b10e1f869517cc41409afcb98d8aba9735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency log