gymlog

command module
v0.0.0-...-c4ce84a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

README

#GYMLOG

NAME: gymlog - A new cli application

USAGE: gymlog [global options] command [command options] [arguments...]

COMMANDS:

page, p Prints Page for Log Book: (Formats gymlog.ini for Log Book)

data, d Store Page in Database: (Database Format)

list, l List Contents of Database by range:

          list mm dd yyyy mm dd yyyy -No dates = all dates, otherwise range is processed

remove, r Remove a record from Database:

         Remove <record number> (see FULL Listing For Record Number!!)

chart, c Produces Progress Chart:

          chart mm dd yyyy mm dd yyyy -No dates = all dates, otherwise range is processed

help, h Shows a list of commands or help for one command GLOBAL OPTIONS:

gymlog --help, -h show help (default: false)

INITIALIZATION FILE EXAMPLE

See note below for explanation of "(0x0@0)" entries.

# INIT gymlog.ini         // (THIS FILE) Fixed Specification
# -------- FILE SPECIFICATIONS (Can be Changed)--------------
# PAGE pageFile.txt       // Listing Produced for Daily Workout
# DATA dataFile.txt       // Database File
# LIST listFile.txt       // Listing File - Holds DataFile listing
# CHART chartFile.txt     // Chart Listing - Holds Chart Listing
# ------------------ EXERCISE DATA --------------------------
#     |           |           |
#CODE |DESC       |EX-1       |EX-2
#=====|===========|===========|=========
MDY   Create_Date (12x23@2019)  
FWC   FW_Curl     (4x10@23)
FWT   FW_Tri      (0x0@0)
FWW   FW_Wrist    (4x15@23)
TRI   Tri_PullDwn (4x10@40)
TRP   Traps       (4x15@165)
LP    Leg_Press   (1x10@240)  (4x10@260)
LAT   Lat(L/R/B)  (4x10@90)
FLY   FLY(B)      (4x10@20)
LC    Leg_Curl    (1x10@70)   (4x10@85)
LE    Leg_Extend  (3x10@85)   (2x10@100)
ROW   Row         (4x10@100)
CP    Chest_Press (4x10@35)
CR    Crunches    (4x15@125)
MC    Mach_Curls  (4x10@50)
LR    LAT_Raises  (4x10@20)
HT    HTub_Kick   (4x40)     
PW    Pool_Walk   (5x200)
PC    Pool_Calf   (4x20)

The Description Field must be one word or system may crash!!

Comments preceded with a "#" Character

Three lines preceeded with "#" specify filenames for PAGE, DATA, LIST, CHART files

The filename for INIT is for documentation only - It may not be changed

To insure that historical charts are accurate, exercise should never be actually removed from the Initialization file. Remove exercises by changing the exercise notation to "(0x0@0)" for that entry.

This is because the Initialization file is the source for the chart processing and headings, if exercises are acually removed from the file then they will suppress listing of historical data.

To solve this we introduce the "(0x0@0)" exercise specification. Exercises with this notation will be stored in the database to insure historical charts are accurate.

However, these exercises will not be displayed in the Pagefile produced for daily workouts.

USER GUIDE:

This program was a personal project to map my progress in weight training. After 4/12 years in and out of a wheel chair due to six knee operations, I had to rehab my body so I could return to a more normal life.

The file Initialization File (gymlog.ini) contains: ged!

EXERCISE SECTION LAYOUT:

  • Exercise Code
  • Exercise Description
  • Exercise 1 Specification
  • Exercise 2 Specification

EXERCISE SPECIFICATION:

  • "("
  • Cycle - How many times the reps and weights will be repeated
  • "x"
  • Reps - How many reps per weight
  • "@"
  • Weight - The weight to the nearest pound (or Kg)
  • ")"

(4x10x70) Means 4 cycles of 10 times at 70lbs

One Note:

Some Exercises only have two entries; --- Example: PW Pool Walk (5x200) --- Some exercises have no weight: --- I walk five laps of 200 yards in the shallow side of the Pool.

In these cases the Reps are placed in the Weight Position in the chart.

There are two Exercise Specifications. These where primarily documenting any "Warm Ups" for a particular exercise. Only the exercise with the highest number of reps will be used.

CHART COMMAND:

The chart lists exercises in database order.

Rec Date  |FWC |FWT |FWW |TRI |LP  |LAT |FLY |LC  |LE  |ROW |CP  |CR  |LR  |HT  |PW  |PC  |
----------|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|
1/5/2020  |20  |30  |20  |70  |240 |90  |20  |70  |70  |85  |35  |110 |20  |40  |200 |20  |
----------|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|
1/5/2020  |20  |30  |20  |70  |240 |90  |20  |70  |70  |85  |35  |110 |20  |40  |200 |20  |
----------|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|
1/5/2020  |20  |30  |20  |70  |240 |90  |20  |70  |70  |85  |35  |110 |20  |40  |200 |20  |
----------|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|

Only the weights for the highest number of reps is shown! The columns identified by exercise codes.

Documentation

Overview

Gym Log Program This program keep track of daily gym records and provides analysis of the records and builds daily workout sheets

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL