ironbot
depends on Python 3.9 or newer, and on Camelot, which requires ghostscript
.
$ pip install ironbot
$ ironbot --help
Usage: ironbot [OPTIONS] COMMAND [ARGS]...
Commands:
calendar List the details of the upcoming Ironman professional races.
start-list Gets the start list for an Ironman professional race (use...
start-lists List upcoming Ironman professional races with start list...
$ ironbot calendar
2023-06-04 IRONMAN Hamburg - MPRO European Championship $75,000 5MPRO CLOSED CLOSED
2023-06-10 IRONMAN 70.3 Boulder $50,000 2MPRO/2WPRO CLOSED CLOSED
2023-06-11 IRONMAN 70.3 Warsaw $15,000 2MPRO/2WPRO CLOSED CLOSED
…
$ ironbot start-lists
Choose one of the followign events to use with `start-list` command:
[1] 2023 IRONMAN European Championship Hamburg
[2] 2023 IRONMAN 70.3 Boulder
…
$ ironbot start-list 4
1 Daniela Ryf CHE (Switzerland)
3 Ashleigh Gentle AUS (Australia)
4 Anne Reischmann DEU (Germany)
…
Requires an environment variable DATABASE_URL
with a valid SQLAlchemy connection string.
$ ironbot db init
Make sure that all tests pass:
$ poetry run pytest