Skip to content

A Python script with a CLI interface to fetch and display the Henley Royal Regatta race timetable, allowing crew-specific searches and time conversion based on GMT offsets.

Notifications You must be signed in to change notification settings

lrlip/Henley-Royal-Regatta-Schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Henley Royal Regatta - Daily Race Schedule

THe Henley Royal Regatta is one of the most prestigious races in rowing. A lot of crews compete and it can be hard to keep track of your favorite team. This script fetches and displays the race timetable for the Henley Royal Regatta. It allows users to search for specific crews and displays the race schedule in both GB and local times based on the specified GMT offset. Run this script after the draw is published to get the latest results.

Installation

pyton -m venv .venv
.\.venv\Script\activate
pip install . -r requirements.txt

Usage

python -m henleySchedule [--crew <search_string1> <search_string2> ...] [--gmt <offset>]

When there is no race schedule on the Henley Site, you have to wait for the next edition.

Arguments

  • --crew: List of substring that should be matched with the name of the crews. Can be country code (NED) for Non-UK contenders, the number of the crew (123) or every crew from one particular club ('Thames R.C.' or Brookes) separated by spaces (capital insensitive)
  • --gmt: GMT offset for local time display (default: 1 for NL time)
  • Without arguments, the whole schedule is shown.

Example to show the schedule for Dutch Crews, crew 123 and every crew from Oxford Brookes in Housten, USA

python -m henleySchedule --crew NED 123 'Oxford brookes' --gmt -6

Example Output:

Race Schedule for Wednesday 03 July 2024
----------------------------------------
  Race #  GB time    Local Time    Berks station                            Bucks station                             Trophy    Boat
--------  ---------  ------------  ---------------------------------------  ----------------------------------------  --------  --------
      15  09:50      10:50         438 Ever Green B.C., USA                 433 A.A.S.R. Skøll, NED                   P. Wales  M4x
      17  10:05      11:05         127 D.S.R. Laga 'B', NED                 161 Oxford Brookes Univ. 'B'              Temple    M8+
      22  10:35      11:35         348 Univ. California, Berkeley 'B', USA  328 A.R.S.R. Skadi & D.S.R. Laga, NED     Visitors  M4-
      33  11:40      12:40         119 A.S.R. Nereus 'A', NED               138 G.S.R. Aegir, NED                     Temple    M8+
      35  11:50      12:50         723 S.N.B. Cox, ZIM                      718 J. Bakker, NED                        Diamonds  M1x
      40  12:20      13:20         456 T.S.S. & Proteus-Eretes, NED         445 Ormsund R.K. & Christiania R.K., NOR  P. Wales  M4x
      41  14:00      15:00         733 D. Junge, GER                        735 L. Kreiter, NED                       Diamonds  M1x
      46  14:30      15:30         162 Oxford Brookes Univ. 'C'             120 A.S.R. Nereus 'B', NED                Temple    M8+
      51  15:00      16:00         61 Nonesuch B.C.                         47 K.A.R.Z.V. 'De Hoop', NED              Thames    M8+
      59  15:45      16:45         734 L. Keijzer, NED                      752 R. Spelman, IRL                       Diamonds  M1x
      63  16:10      17:10         204 G.S.R. Aegir, NED                    195 Drexel Univ., USA                     Island    W8+
      70  17:50      18:50         725 J.D. Free, AUS                       746 B.A.G. Poll, NED                      Diamonds  M1x
      75  18:20      19:20         126 D.S.R. Laga 'A', NED                 181 University of Bristol                 Temple    M8+
      80  18:50      19:50         453 R.G. Hansa Hamburg & R.V. Kappeln    459 U.S.R. Triton, NED                    P. Wales  M4x
      83  19:10      20:10         339 Nottingham & Union & Oxford Univ.    344 Okeanos & Vidar, NED                  Visitors  M4-

Rights

All rights to the race schedule data are owned by the Henley Royal Regatta. The data is fetched from the official Henley Royal Regatta Race TimeTable

About

A Python script with a CLI interface to fetch and display the Henley Royal Regatta race timetable, allowing crew-specific searches and time conversion based on GMT offsets.

Topics

Resources

Stars

Watchers

Forks

Languages