Skip to main content

No project description provided

Project description

py42195

Useful tools to help you keep in running pace.

Examples

How fast do I (well, not me) need to be to finish a marathon in 2 hours?

>>> from py42195 import duration, MARATHON
>>> desired_pace = duration("2:00:00") / MARATHON
>>> desired_pace
pace('2:50.6')

Will I be able to finish a half-marathon in 1:30 hours if I run at a pace of 4:07 min/km?

>>> from py42195 import pace, HALF_MARATHON
>>> my_pace = pace("4:07")
>>> my_pace * HALF_MARATHON <= duration("1:30:00")
True  # 1:26:51

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py42195-0.0.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

py42195-0.0.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page