Python and Running: Difference between pages

From Smithnet Wiki
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
== PIP ==
== Distances ==


On Windows, start pip with:
See [https://www.calculator.net/pace-calculator.html Pace Calculator].
py -m pip


== Virtual Environments ==
=== 5k ===


Create a virtual environment:
{| class="wikitable"
python -m venv py-env/demo
!Date
!Location
!Time
!Pace (min/km)


Activate a virtual environment on Windows:
|-
py-env\demo\Scripts\activate
|2023-08-26||South Norwood||20:15||4:03
|-
|2023-08-12||Swansea Bay||19:27||3:53


or Linux:
|}
. py-env/demo/bin/activate


Install within a venv:
Target: 20:00 (4:00 min/km)
pip install --upgrade pip
python -m pip install pyinstaller
python -m pip install requests==2.6.0


Deactivate an env:
=== Half (21.1 km) ===
deactivate


== Python Installer ==
{| class="wikitable"
!Date
!Location
!Time
!Pace (min/km)


pip install pyinstaller
|-
|2023-09-03||London Big Half||1:36:57||4:36


Add C:\Users\<user>\AppData\Roaming\Python\Python312\Scripts to PATH:
|}


pyinstaller --onefile file.py
Target: 1:30:00 (4:16 min/km)


and the resultant executable will be in the dist directory.
=== Marathon (42.2 km) ===
 
{| class="wikitable"
!Date
!Location
!Time
!Pace (min/km)
 
|-
|2022-05-01||Milton Keynes||3:53:00||5:31
|-
|2023-05-01||Milton Keynes||3:34:04||5:04
 
|}
 
Target: 3:30:00 (4:59 min/km)
 
== Training ==
 
{| class="wikitable"
!Mon
!Tue
!Wed
!Thu
!Fri
!Sat
!Sun
 
|-
|Recovery||Intervals||Easy/Marathon Pace||Easy/Progression||Rest||Parkrun ||Long Run
|-
|60+ min<br/>Easy 14 km with hill||60+ mins,<br/>Easy 14 km with hill<br/> with intervals of < 4 min/km||60+ min,<br/>5 min/km||60+ min,<br/>5 min/km||S & C Work||5 km race,<br/>easy run after||22 - 30 km
 
|}
 
 
S/C Excercises:
* Calf Raise
* Bench Lunge
* Side Plank
 
== Shoes ==
 
Current:
* ASICS Gel-Nimbus 24
* ASICS NovaBlast 3
 
Consider:
* ASICS Get-Nimbus 25
** £175 Runners Needed
** £175 ASICS online
** Y19800 ASICS Japan
* ASICS Metaspeed Sky+
** £225 ASICS online
** Y27500 ASICS Japan
* Mizuno Wave Rebellion Pro
** £200 Runners Needed
* Fuelcell Supercomp Pacer
** £170 Runners Needed
* Hoka Bondi X
** £180 Runners Needed

Revision as of 16:43, 28 November 2023

Distances

See Pace Calculator.

5k

Date Location Time Pace (min/km)
2023-08-26 South Norwood 20:15 4:03
2023-08-12 Swansea Bay 19:27 3:53

Target: 20:00 (4:00 min/km)

Half (21.1 km)

Date Location Time Pace (min/km)
2023-09-03 London Big Half 1:36:57 4:36

Target: 1:30:00 (4:16 min/km)

Marathon (42.2 km)

Date Location Time Pace (min/km)
2022-05-01 Milton Keynes 3:53:00 5:31
2023-05-01 Milton Keynes 3:34:04 5:04

Target: 3:30:00 (4:59 min/km)

Training

Mon Tue Wed Thu Fri Sat Sun
Recovery Intervals Easy/Marathon Pace Easy/Progression Rest Parkrun Long Run
60+ min
Easy 14 km with hill
60+ mins,
Easy 14 km with hill
with intervals of < 4 min/km
60+ min,
5 min/km
60+ min,
5 min/km
S & C Work 5 km race,
easy run after
22 - 30 km


S/C Excercises:

  • Calf Raise
  • Bench Lunge
  • Side Plank

Shoes

Current:

  • ASICS Gel-Nimbus 24
  • ASICS NovaBlast 3

Consider:

  • ASICS Get-Nimbus 25
    • £175 Runners Needed
    • £175 ASICS online
    • Y19800 ASICS Japan
  • ASICS Metaspeed Sky+
    • £225 ASICS online
    • Y27500 ASICS Japan
  • Mizuno Wave Rebellion Pro
    • £200 Runners Needed
  • Fuelcell Supercomp Pacer
    • £170 Runners Needed
  • Hoka Bondi X
    • £180 Runners Needed