Metadata-Version: 2.4
Name: biking-bot
Version: 0.1.0+76a2735
Summary: telegram bot for telling you to bike to work
Author: Firq
Author-email: Firq <python.packages@firq.dev>
License-Expression: AGPL-3.0-or-later
License-File: LICENSE.md
Requires-Dist: python-dotenv>=1.2.4
Requires-Dist: requests>=2.34.2
Requires-Python: >=3.14
Description-Content-Type: text/markdown

# biking-bot

A simple evaluation bot run daily to check if the commute to work will be better done by bike or car

## config

Set the following env variables:

```
TELEGRAM_BOT_TOKEN=<bot token>
TELEGRAM_CHAT_ID=<chat id>

WAYPOINTS_JSON=[{"name": "<name1>", "lat": <lat of name1>, "lon": <lon of name 1>}, ...]
PRECIPITATION_LIMIT_MM=<desired percipitation limit>
WIND_GUST_LIMIT_KMH=<desired wind speed limit>
COMMUTE_HOURS=<desired commute hours>
```

`WAYPOINTS_JSON` is an array of waypoints, each comprised of the following:
```
{
    "name": "start", # name of the waypoint
    "lat": 0.0, # "latitude of the waypoint"
    "lon": 0.0  # "longitude of the waypoint"
}
```

Recommendation: set start, end and a waypoint every few km (my case: every 3km)

`PRECIPITATION_LIMIT_MM` is typically a value between `0.0` and `1.0` (mm of rain), default is `0.5` - reduce accordingly if not even light rain is okay
`WIND_GUST_LIMIT_KMH` is the windspeed in km/h - default is `50`
`COMMUTE_HOURS` is a comma-separated string of hours where the commute is to be evaluated, `7,8` as default
