python cli,它使用参数曲线生成力量、有氧运动和hiit练习例程
routinemaker的Python项目详细描述
路由器制造商
routinemaker是一个python cli,它使用参数曲线生成力量、有氧运动和hit练习例程。例程保存为Excel电子表格。有关文档,请参见routinemaker.me。
安装
routinemaker是一个python 3包,可以通过pip
安装。
$ pip install routinemaker
用法
从命令行运行routinemaker。该命令不接受任何选项。当生成器遍历所有选项时,将提示您。
$ routinemaker
输出
RoutineMaker生成格式化的Excel电子表格。您可以打印出电子表格,也可以将其上传到云端(即google drive),以便在训练期间更容易使用。下面是屏幕截图、可下载文件和示例例程的简要使用指南。
强度(download)
用法:在第1天,做两组5次50磅重的哑铃高脚杯深蹲,然后做两组3次20磅重的杠铃压力机。当你完成每一组时,在相应的白框中标记一个“X”。
有氧运动(download)
用法:第一天,跑步2.5分钟,然后步行休息。接下来,跑1.5分钟,然后步行休息。完成所有6个间隔,并在相应的白框中标记一个“X”。
hiit(download)
用法:在第1天,每侧做2组9次体重侧弓箭步,然后做2组5次体重跳蹲,然后做2组10秒体重前臂板。当你完成每一组时,在相应的白框中标记一个“X”。
定制
RoutineMake是根据您的喜好定制的。特别是,您可能需要修改练习列表或调整用于生成训练的曲线的方程式。
练习
您可以自定义Routinemaker用于生成训练的练习列表。这些练习储存在data/exercises.json
中。JSON文件中的每个练习包括^ {EM1} $类型
曲线
您还可以自定义RoutineMaker用于生成训练的曲线。计算逻辑存储在routine.py
中。RoutineMaker有3条默认曲线:linear(难度不断增加)、exponential(开始容易,结束时难度逐渐增加)和logiological(快速增加)。
工作流程
routinemaker的工作原理是提示输入各种设置,然后将参数输入到曲线中,以便为每天生成训练。下面是工作流的一些示例屏幕截图以及所有提示和选项的摘要。
启动屏幕
力量训练过滤设备
手动选择力量练习
选择hiit练习的随机列表
编辑练习车
选择力量训练的目标
配置有氧运动的间隔
提示和选项摘要
├── What type of routine do you want to create?
│ ├── STRENGTH
│ │ ├── What type of equipment do you have access to?
│ │ └── How would you like to choose the exercises for your routine?
│ │ ├── START WITH A RANDOM LIST OF EXERCISES
│ │ │ ├── Which muscle groups do you want to train?
│ │ │ └── How many exercises do you want in your routine?
│ │ └── MANUALLY ADD EXERCISES [∞]
│ │ ├── Pick a muscle group to browse exercises to add
│ │ └── Which exercise would you like to add?
│ ├── CARDIO
│ │ └── Which cardio activity would you like to do?
│ │ └── Which specific exercise would you like to work on?
│ └── HIIT
│ └── How would you like to choose the exercises for your routine?
│ ├── START WITH A RANDOM LIST OF EXERCISES
│ │ ├── Which muscle groups do you want to train?
│ │ └── How many exercises do you want in your routine?
│ └── MANUALLY ADD EXERCISES [∞]
│ ├── Pick a muscle group to browse exercises to add
│ └── Which exercise would you like to add?
├── Do you need to edit or reorder the exercises in your routine? [∞]
│ ├── YES
│ │ └── What would you like to do?
│ │ ├── ADD EXERCISE
│ │ │ ├── Pick a muscle group to browse exercises to add
│ │ │ └── Which exercise would you like to add?
│ │ ├── REMOVE EXERCISE
│ │ │ └── Which exercise would you like to remove?
│ │ ├── SWAP EXERCISE
│ │ │ ├── Which exercise would you like to swap?
│ │ │ ├── [STRENGTH/HIIT]
│ │ │ │ ├── Pick a muscle group to browse exercises to add
│ │ │ │ └── Which exercise would you like to add?
│ │ │ └── [CARDIO]
│ │ │ └── Which exercise would you like to add?
│ │ └── REORDER EXERCISE
│ │ ├── Which exercise would you like to move?
│ │ └── Which exercise would you like to move it before?
│ └── NO
├── How many weeks would you like your routine to last?
├── How many days per week are you planning on exercising?
├── [FOR EACH EXERCISE]
│ ├── Which variation of EXERCISE do you plan on doing?
│ ├── How many continuous UNITS of ACTIVITY are you currently comfortable with?
│ ├── How many continuous UNITS of ACTIVITY is your goal?
│ └── [STRENGTH]
│ ├── What weight are you currently using for ACTIVITY?
│ └── What's your goal weight for ACTIVITY?
├── [STRENGTH/HIIT]
│ ├── What's the mininum number of sets you'd like to do for each exercise?
│ └── What's the maximum number of sets you'd like to do for each exercise?
├── [CARDIO]
│ ├── What's the maximum number of intervals you want in your routine?
│ └── Please choose a random number to seed the routine
├── What type of curve do you want to use to create your routine?
│ ├── LINEAR
│ ├── EXPONENTIAL
│ └── LOGARITHMIC
└── What do you want to name the output file?
免责声明
RoutineMaker是一个自动引擎,它生成独立于你身体能力的锻炼程序。生成的训练可能不适合您的健身水平。请用常识。在开始新的锻炼计划之前,你应该先咨询你的医疗保健提供者。
许可证
routinemaker是由Kathy Qian创建的,open-sourced位于MIT License之下。