CLI to get information about Ironman professional races
Project description
ironbot
Requirements
ironbot
depends on Python 3.9 or newer, and on pdftotext
which requires poppler
.
Install
$ pip install ironbot
Usage
$ ironbot --help
Usage: ironbot [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion [bash|zsh|fish|powershell|pwsh]
Install completion for the specified shell.
--show-completion [bash|zsh|fish|powershell|pwsh]
Show completion for the specified shell, to
copy it or customize the installation.
--help Show this message and exit.
Commands:
calendar List the details of the upcoming Ironman professional races.
start-list Gets the URL to the PDF containing the start list for an...
start-lists List upcoming Ironman professional races with start list...
Exemples
Details of upcoming Ironman professional races
$ 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
…
List events with start list available
$ 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
…
Get the URL to the start list of an event
$ ironbot start-list 4
https://files.constantcontact.com/a202847d001/81c60c53-85dd-45f9-b6aa-dd0fda086862.pdf
Contributing
Make sure that both checks pass:
$ poetry run mypy **/*.py
$ poetry black --check .
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
ironbot-0.0.1.tar.gz
(15.4 kB
view details)
Built Distribution
ironbot-0.0.1-py3-none-any.whl
(16.2 kB
view details)
File details
Details for the file ironbot-0.0.1.tar.gz
.
File metadata
- Download URL: ironbot-0.0.1.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.2 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e44c85daa1957f6a9392cb1339539c5fa12476ba565f364819da24f86f8d84f3 |
|
MD5 | c1bd89dc297c5f5b2e2af6df8864b321 |
|
BLAKE2b-256 | 5ef186ca3e3aa157b561e47705dc04d7068c801388cf40a208150dfdc81f7c2a |
File details
Details for the file ironbot-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ironbot-0.0.1-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.2 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68d59f74b01df23639811431824a8cb4373c564d918a5a1d39d571abf8ce455b |
|
MD5 | 24fd2b150e67af28981c26b16a137f4f |
|
BLAKE2b-256 | e9937164a03277c6ca91b74037ad80b04312684a4413c98b809986cb03a7b98b |