Skip to main content

CLI to get information about Ironman professional races

Project description

ironbot Tests

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 all tests pass:

$ poetry run pytest

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ironbot-0.0.4.tar.gz
Algorithm Hash digest
SHA256 aeb1f2555849090c95b219714e2c84d1ad2c993a7e1c71035a7a8ee20aeea2bd
MD5 43a2d9c9691afe61fc44bc3508b376fb
BLAKE2b-256 d7efdde81a91adcf061f9ac8e22a97b62f80868c6c28bd3378caf6bfd3a0498d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ironbot-0.0.4-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.5.0

File hashes

Hashes for ironbot-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9124d4aeaac43058c02532ae9d38efdb851b93a31683e10006474acaed226b6c
MD5 bc31e5c980e37de9f2b7b23956070f20
BLAKE2b-256 2bbffc53c6bb00dcc1a4f77f2a03dd5183a610b3a50b44ead018eb28749c466a

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