Skip to main content

🏃‍♀️ running 🏃

image image

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

You can also view split times with --splits (-s):

$ running -p 4:30 -d marathon --splits
Elapsed time: 3:09:53 [H:]MM:SS

   1 km  04:30
   2 km  09:00
   3 km  13:30
  ...
  42 km  3:09:00
42.195 km  3:09:53

Predict race times for other distances with --predict (-r), using the Riegel formula:

$ running -d 10km -t 45:00 --predict
Required pace: 04:30 /km

Race predictions:
          1500m    06:01   (04:01 /km)
         1 mile    06:29   (04:02 /km)
             5K    21:35   (04:19 /km)
            10K    45:00   (04:30 /km)
  Half-marathon  1:39:17   (04:42 /km)
       Marathon  3:27:01   (04:54 /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

Metadata

Release files for running 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for running 0.4.0
File Size Uploaded
running-0.4.0.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for running 0.4.0
File Interpreter ABI Platform
running-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.0 kB

Release files / running-0.4.0.tar.gz

Download URL running-0.4.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
15844bd25f47e2107719ef778512b64ebea7af696dff3e966f3f8595a1fa714c
BLAKE2b-256 checksum
How to use checksums
46366bdf2ad31f6d9f310bde14ed0add1950c4c8e7c716192d568eadada9ca08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 12, 2026.

Transparency log

Release files / running-0.4.0-py3-none-any.whl

Download URL running-0.4.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5210ad82791c84d475ffa37fa0716ecb55e1cb114098edcb363372372b743afc
BLAKE2b-256 checksum
How to use checksums
fa1cb1871ede11c476ab6c5e134d23ef5e5a4264e6b389a97a5b82e8d0058e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page