Metadata-Version: 2.1
Name: py42195
Version: 0.0.1
Author-email: Jan Pipek <jan.pipek@gmail.com>
License: MIT License
Project-URL: Homepage, https://github.com/janpipek/py42195
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: mypy; extra == "dev"

# 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?

```python
>>> 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?

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