Skip to main content

CLI for exploring IBU biathlon results from biathlonresults.com

Project description

Biathlon CLI

A CLI to explore data from the IBU biathlon results API at biathlonresults.com.

No external dependencies - pure Python standard library.

Installation

From PyPI

pip install biathlon

From source

git clone https://github.com/thbtmntgn/biathlon.git
cd biathlon
pip install .

For development

git clone https://github.com/thbtmntgn/biathlon.git
cd biathlon
pip install -e .

Usage

List available seasons:

biathlon seasons

List World Cup events from the current season:

biathlon events

List World Cup events for a specific season:

biathlon events --season 2425

List IBU Cup events for the current season:

biathlon events --level 2

List events with their races for the current season World Cup:

biathlon events --races

List sprint races for a specific season:

biathlon events --season 2425 --races --discipline sprint

Show results for the most recent World Cup race:

biathlon results

Show results for a specific race id:

biathlon results --race BT2526SWRLCP01SWSP

Show detailed split times for a race:

biathlon results --race BT2526SWRLCP03SMMS --detail

Show World Cup total standings (women, current season by default):

biathlon standings

Show men sprint standings for season 2425:

biathlon standings --season 2425 --men --sort sprint

Show athlete information:

biathlon athlete info --search "boe johannes"
biathlon athlete id --search "boe"
biathlon athlete results --id BTFRA12305199301

Show medal standings:

biathlon ceremony
biathlon ceremony --athlete

Cumulate season statistics:

biathlon cumulate results
biathlon cumulate remontada --men
biathlon cumulate cleansheet
biathlon cumulate cleansheet --sort percentage

Shooting accuracy:

biathlon shooting
biathlon shooting --men

Athlete form (course time or shooting across recent races):

biathlon form
biathlon form --men --shoot
biathlon form --startlist
biathlon form --season --top 10

Season, event and race briefs (venue history, startlist analysis, post-race recap):

biathlon brief season
biathlon brief event
biathlon brief startlist
biathlon brief postrace

Run without installing:

python -m biathlon.cli seasons

License

MIT

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

biathlon-1.4.0.tar.gz (119.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biathlon-1.4.0-py3-none-any.whl (127.0 kB view details)

Uploaded Python 3

File details

Details for the file biathlon-1.4.0.tar.gz.

File metadata

  • Download URL: biathlon-1.4.0.tar.gz
  • Upload date:
  • Size: 119.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for biathlon-1.4.0.tar.gz
Algorithm Hash digest
SHA256 84d608a7524de194957428b724c548ef173106713f7b60536abffc8606f40855
MD5 3cf701add56329fdbba181c0ceda5e07
BLAKE2b-256 42f7acb10d73ef012216c5031098efbd3baebaa55d1d66b632232d035fa63467

See more details on using hashes here.

File details

Details for the file biathlon-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: biathlon-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 127.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for biathlon-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07d7a9eba7b6043eaf1751a440e7b426d6fd73e333a90204e68d1271112f0599
MD5 5ab7ff0ae1bfd41ccb79a35945784603
BLAKE2b-256 7526ce642743ce935a616439a70164cdd164a57c317b9bfeb088312e4f59cacb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page