Skip to main content

Calculates the next workout sets for progressive overload given previous ones.

Project description

Progressive Overload

Calculates the next workout sets for progressive overload given previous ones.

Installing

$ pip install progressive-overload

Using

from progressive_overload import *

progressive_overload(
  [(8, 10), (8, 10), (8, 10)],  # weight x reps for each set
  max_reps=12,  # maximum number of reps per set in the output
  weight_increment=2,  # the amount the weight can increase by
)

guess_max_reps([12, 10, 10])  # the already performed reps

guess_weight_increment([Decimal(10), Decimal(8), Decimal(8)])  # the already performed weights

Running

$ progressive-overload --max-reps 10 --increment 2 '8 x 10' '8 x 10' '8 x 10'

Testing

$ pipenv install --dev
$ pipenv run python setup.py test

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

progressive-overload-0.2.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

progressive_overload-0.2.1-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

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