Skip to content
Generates a barbell weight training program based on user input
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
main.py
old_shitty_version.py

README.md

FitnessProgramGenerator

Generates a barbell weight training program based on user input in Python.


Simple Command Line Interface for accepting user 1-rep maxes in the main four lifts (Overhead Press, Deadlift, Squat, Bench Press) Then generates a 4-week program based on Jim Wendler's 5/3/1 Training scheme.

Sample Output:

screenshot

I also plan on going through and completely re-doing the code to reduce lines by combining functions.

I said I was going to do this ☝️ about 4 years ago and I'm finally getting around to it. I legit reduced this program to 4 functions, no class, and working on adding more options

Ultimately this program was doo doo before. I'm going to keep how bad the old program was around for posterity. I removed the class because this program doesn't need one, it can be executed in a single file with functional programming. I've also reduced about a billion variables to a handful with better functions.

Gives the user the option to generate a text file (located in the same directory the program is run from) for saving/later use. **I'm going to make this something cleaner/printable like a PDF or email - also add SMS functionality.

TODO:

  1. Setup advanced instructions/functionality
  2. Setup Printing via PDF and/or an e-mail option -- I'm thinking HTML/CSS file might be best/easiest 🤔
  3. Setup SMS service for daily text-messaging for those who desire it

3. QOL change includes rounding off the lifts to increments of 5, because barbell weights are often increased or decreased in increments of 5. ☝️ First thing I did 😂

© Rudy Faile 2015-2019

You can’t perform that action at this time.