Giter Club home page Giter Club logo

statlift's Introduction

statlift

Free Analytics for Strong Data. ๐Ÿš€

๐Ÿฆพ About:

StatLift is a web app that enables users of the Strong App to keep track of their training progress.

StatLift was built with Streamlit and is hosted on the Streamlit Community Cloud.

Find it here: https://statlift.streamlit.app/

I'm neither a Streamlit expert nor physically able to produce the most impressive dataset for stress testing StatLift, so feel free to leave feedback or suggestions for improvement by opening a new issue.

๐Ÿ’ก How to use:

  1. Export your workout data from the Strong App:

    Profile -> Settings -> Export Strong Data

  2. Visit https://statlift.streamlit.app/

  3. Upload your exported csv file and celebrate your training progress

๐Ÿ’ป Alternatively run StatLift locally:

  1. Clone this repository:

    git clone https://github.com/jjaju/statlift.git

  2. Navigate to cloned folder:

    cd statlift

  3. Install required packages:

    pip install -r requirements.txt

  4. Start statlift using streamlit:

    streamlit run statlift.py

statlift's People

Contributors

aebel-shajan avatar jjaju avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

statlift's Issues

Incorrect # of Minutes trained displayed

After uploading my data I found that the total number of minutes trained is incorrect.

Total minutes trained:

My calculation 11631
Statlift 7,003

After doing print(sepump.data) I noticed that for some of the enries the workout duration was set to 0 even though in the original csv its not 0.

sepump.data

            Date           Workout Name           Exercise Name  Weight  Reps  Workout Duration Notes                                  workout_uid  volume
0     2023-07-30                   Arms  Bench Press (Dumbbell)    14.0   8.0                 0   NaN                   Arms2023-07-30 16:49:2844m   112.0
1     2023-07-30                   Arms  Bench Press (Dumbbell)    12.0   8.0                 0   NaN                   Arms2023-07-30 16:49:2844m    96.0
2     2023-07-30                   Arms  Bench Press (Dumbbell)    12.0   0.0                 0   NaN                   Arms2023-07-30 16:49:2844m     0.0
3     2023-07-30                   Arms   Bicep Curl (Dumbbell)    10.0   8.0                 0   NaN                   Arms2023-07-30 16:49:2844m    80.0
4     2023-07-30                   Arms   Bicep Curl (Dumbbell)    10.0   8.0                 0   NaN                   Arms2023-07-30 16:49:2844m    80.0
...          ...                    ...                     ...     ...   ...               ...   ...                                          ...     ...
3189  2024-06-05  Pull 1 (back, biceps)   Reverse Fly (Machine)    39.0   7.0                 0   NaN  Pull 1 (back, biceps)2024-06-05 16:57:3751m   273.0
3190  2024-06-05  Pull 1 (back, biceps)   Reverse Fly (Machine)    32.0   8.0                 0   NaN  Pull 1 (back, biceps)2024-06-05 16:57:3751m   256.0
3191  2024-06-05  Pull 1 (back, biceps)  Hammer Curl (Dumbbell)    14.0   7.0                 0   NaN  Pull 1 (back, biceps)2024-06-05 16:57:3751m    98.0
3192  2024-06-05  Pull 1 (back, biceps)  Hammer Curl (Dumbbell)    12.0   9.0                 0   NaN  Pull 1 (back, biceps)2024-06-05 16:57:3751m   108.0
3193  2024-06-05  Pull 1 (back, biceps)  Hammer Curl (Dumbbell)    12.0   7.0                 0   NaN  Pull 1 (back, biceps)2024-06-05 16:57:3751m    84.0

strong.csv

                 Date Workout Name           Exercise Name  Set Order  Weight  \
0 2023-07-30 16:49:28         Arms  Bench Press (Dumbbell)          1    14.0   
1 2023-07-30 16:49:28         Arms  Bench Press (Dumbbell)          2    12.0   
2 2023-07-30 16:49:28         Arms  Bench Press (Dumbbell)          3    12.0   
3 2023-07-30 16:49:28         Arms   Bicep Curl (Dumbbell)          1    10.0   
4 2023-07-30 16:49:28         Arms   Bicep Curl (Dumbbell)          2    10.0   

  Weight Unit  Reps  RPE  Distance Distance Unit  Seconds Notes Workout Notes  \
0          kg   8.0  NaN       NaN           NaN        0   NaN           NaN   
1          kg   8.0  NaN       NaN           NaN        0   NaN           NaN   
2          kg   0.0  NaN       NaN           NaN        0   NaN           NaN   
3          kg   8.0  NaN       NaN           NaN        0   NaN           NaN   
4          kg   8.0  NaN       NaN           NaN        0   NaN           NaN   

  Workout Duration  
0              44m  
1              44m  
2              44m  
3              44m  
4              44m 

I think the issue might be cause by __convert_duration_to_minutes() in sepump.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.