A streamlit companion library to create a interactive reader for the content on a given folder.
Project description
streamlit_book
streamlit_book is a streamlit companion library, written in python+streamlit to create a interactive reader for the content on a given folder. It was developed on November 2021 during streamlit's hackathon - ended up being awarded one of the two best apps!
Documentation
All the documentation is at readthedocs.
Examples
- Streamlit Book Examples: Several different examples.
- Happy Birds: A small explanation on trajectory motion.
- The (confusion) matrix: A simple example of confusion matrix with cool graphics and animation on Streamlit.
How to use it
Install it:
pip install streamlit_book
Create a file that references the folder with the files you want to render as a book:
import streamlit as st
import streamlit_book as stb
# Streamlit properties
st.set_page_config(layout="wide", page_title="My page title")
# Streamit book properties
stb.set_book_config(path="my/path")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit_book-0.5.4.tar.gz
(14.3 kB
view details)
File details
Details for the file streamlit_book-0.5.4.tar.gz.
File metadata
- Download URL: streamlit_book-0.5.4.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/1.7.0 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2761e3a73259ec1b3e89eebc6e67514537e2501262a761ec6eceaf0be5e22677
|
|
| MD5 |
153688acb884d30a92e8bef441f08dcf
|
|
| BLAKE2b-256 |
0da0cb99b34c632eeebf1a22edca3b018ad4803fd06013037f2ebd112e080122
|