Skip to main content

The dynamic strength program generator.

Project description

Description

Sick of static 3 x 12 schemes? Streprogen (short for Strength Program Generator) is a Python package that allows you to write flexible, powerful strength training programs in no time. Streprogen is simple to get started with and has sensible default values, but advanced users can change the underlying algorithms easily too. The training programs scale extremely well, any number of days, exercises and training program durations is possible.

Simple example

from streprogen import Program, Day, DynamicExercise, StaticExercise

# Create a 4-week program with 25 repetitions per exercise
program = Program('My first program!', duration = 4, reps_per_exercise = 25)

# Create some dynamic and static exercises, add to the day
bench = DynamicExercise('Bench press', start_weight = 60, end_weight = 80)
squats = DynamicExercise('Squats', start_weight = 80, end_weight = 95)
curls = StaticExercise('Curls', '3 x 12')
day = Day(exercises = [bench, squats, curls])

# Add day(s) to program and render it
program.add_days(day)
program.render()
print(program)
----------------------------------------------------------------
Program: My first program!

Parameters
  duration: 4
  reps_per_exercise: 25
  avg_intensity: 75
  reps_scalers: [1, 1.2, 1.2, 0.8]
  intensity_scalers: [0.95, 1, 1, 0.95]
  units: kg
----------------------------------------------------------------
Days and exercises
  Day 1
   Bench press    60kg ->  80kg   reps: [3, 8]     weekly inc.: 7.5%
   Squats         80kg ->  95kg   reps: [3, 8]     weekly inc.: 4.4%
   Curls         3 x 12
----------------------------------------------------------------
Week 1
 Day 1
   Bench press    7 x 42.5kg  7 x 42.5kg  6 x 45kg    5 x 47.5kg
   Squats         7 x 57.5kg  7 x 57.5kg  6 x 60kg    5 x 62.5kg
   Curls          3 x 12

Week 2
 Day 1
   Bench press    8 x 42.5kg  7 x 45kg    6 x 50kg    5 x 52.5kg  4 x 55kg
   Squats         8 x 55kg    7 x 57.5kg  6 x 62.5kg  5 x 65kg    4 x 70kg
   Curls          3 x 12

Week 3
 Day 1
   Bench press    8 x 50kg    7 x 52.5kg  6 x 55kg    5 x 60kg    4 x 62.5kg
   Squats         8 x 60kg    7 x 65kg    6 x 67.5kg  5 x 72.5kg  4 x 77.5kg
   Curls          3 x 12


Week 4
 Day 1
   Bench press    7 x 57.5kg  7 x 57.5kg  6 x 60kg
   Squats         7 x 67.5kg  7 x 67.5kg  6 x 70kg
   Curls          3 x 12

----------------------------------------------------------------

Project structure

Information about project structure here.

TODO

  • Write export to HTML

  • Write export to LaTeX

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streprogen-0.1.3.tar.gz (16.0 kB view details)

Uploaded Source

File details

Details for the file streprogen-0.1.3.tar.gz.

File metadata

  • Download URL: streprogen-0.1.3.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for streprogen-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3adee2d8eafe435d848c507dad35bfcf7bffda8dcc3dc6eb59f35519732bdaec
MD5 5033c832d1125f3388abdeb828deab9f
BLAKE2b-256 9d5b538fc6fbebbfe961f3d8ced3164642b1ac69683d1176f9a59e9aa97ba625

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page