User-friendly running pace calculator
Project description
🏃♀️ running 🏃
A flexible but user-friendly running pace calculator as a command line tool.
Installation
$ pip install running
Usage
Call running
with two of the three arguments pace
, distance
or time
, and it will calculate the missing one for you.
$ running --pace 4:30/km --distance marathon
Elapsed time: 3:09:53 [H:]MM:SS
You can also just use the first letter of the argument names:
$ running -p 4:30 -d marathon
Note that distance unit for the pace was omitted, defaulting to kilometer. This can be changed with the unit
(-u
) parameter as follows:
$ running -p 8:00 -d 10km -u miles
Elapsed time: 49:43 [H:]MM:SS
You can also directly specify the units for the pace:
$ running -p 6min/mile -t 1hour
Travelled distance: 16.09 km
$ running -d half-marathon -t 1:45:00
Required pace: 04:59 /km
The tool is quite flexible in terms of the valid expressions for the arguments, see running --help
for more examples.
Ever wondered how fast Usain Bolt would run a marathon?
$ running -p bolt -d marathon
Elapsed time: 1:07:22 [H:]MM:SS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file running-0.1.3.tar.gz
.
File metadata
- Download URL: running-0.1.3.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd98eda0a7573684aebf3b02645f8138022748e7c501d36562746f7ab37947a3 |
|
MD5 | 94bddc340364267105c58670fd21ec72 |
|
BLAKE2b-256 | 24171759515a5493154aedc7920849a12d284bb45805f6378112a51bd8fceac1 |
File details
Details for the file running-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: running-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b156e9196c7b77056a37e5f583844d269770c069ba33b84bb43412e1741548e |
|
MD5 | 94a0036eea877129c406c889c816ed54 |
|
BLAKE2b-256 | 43cfecede97958c603f9c3aef6f4da3e4683ee8a05cf4a13f13482fae278b1d2 |