Skip to main content

CLI to get information about Ironman professional races

Project description

ironbot

Requirements

ironbot depends on Python 3.9 or newer, and on Camelot, which requires ghostscript.

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 start list for an Ironman professional race (use...
  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 start list of an event

$ ironbot start-list 4
1	Daniela Ryf	CHE (Switzerland)
3	Ashleigh Gentle	AUS (Australia)
4	Anne Reischmann	DEU (Germany)

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.3.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

ironbot-0.0.3-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file ironbot-0.0.3.tar.gz.

File metadata

  • Download URL: ironbot-0.0.3.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.2 Darwin/22.4.0

File hashes

Hashes for ironbot-0.0.3.tar.gz
Algorithm Hash digest
SHA256 20e114708c6f4b977e73866be3b0b4aa28d484bb6b89564d99da41684fe0208b
MD5 552d2837a05c325239319d2f1f679061
BLAKE2b-256 5ddb91f59a2b57c6f3ebc2bc85d559d04a1ab23fd40996965f98b9d3c4781972

See more details on using hashes here.

File details

Details for the file ironbot-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: ironbot-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 17.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

Hashes for ironbot-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6bef523719a45ffdfc507671d888a37a7d372bcfeba956a0f0948fa6311785fd
MD5 21fbf36c14fa928391bc29ad8f9bfe4b
BLAKE2b-256 ab483a178963ee18a478a27496e4d93573659d9e6cdf80ec79f2ab99e0b79ede

See more details on using hashes here.

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