Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 806 Bytes

README.md

File metadata and controls

39 lines (21 loc) · 806 Bytes

Streamlit Workout Builder

A simple streamlit component to create workouts.

To start simply install using pip:

pip install workout-builder-streamlit

Then:

import streamlit as st
from workout_builder_streamlit import workout_builder

st.title("Workout Builder")
data = workout_builder()
st.line_chart(data)

By default the workout_builder returns a list of a stream of the power singal at 1Hz. The sampling frequency can be increased by passing "1ms" to the frequency key word. Additionaly the return_list keyword can be set to False to return an object of the differen workout blocks instead of the data stream.

Example

Example

An example graph based on the data created by the workout builder:

Example graph