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.
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.4.0.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for streamlit_book-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb68800c01086ec97dfdf209f37280014fbe91071ef6a56779143e1fbf33c5a2 |
|
MD5 | a8813dd78731f9a2f68dfeacff6da5da |
|
BLAKE2b-256 | 4117806f222193b10440ea75c37ad9a1f979b9055de62585203f273eaac712d8 |