streamlit-book

A streamlit companion library to create a interactive reader for the content on a given folder.


License
MIT
Install
pip install streamlit-book==0.5.2

Documentation

streamlit_book

Open in Streamlit

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

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")