Skip to content

A digital worker that processes results from a hockey league and ranks each team by score

License

Notifications You must be signed in to change notification settings

tara-jawahar/bots-ta2-python-hockey-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ℹ Please note
This repository is a Digital Worker example (Robot) adapted from an open source Robocorp Example used in an internal exercise. See "Licenses and Attributions" for more details below.

🏒 Python Hockey Challenge

A project template for the Python Hockey Challenge by Thoughtful Automation.

Table of Contents

Prerequisites

  1. Create a Robocorp Cloud Account (optional)
  2. Download Robocorp Lab
  3. See Robocorp Developer Guides

Running

  1. Clone this repository to your local machine.
    • Conventionally, clone this repo to the folder ~/Robots/
  2. Open Robocorp Lab, select "Open Robot" see screenshot
  3. Open this folder (bots-ta2-hockey)
  4. In the top menu bar, select Run ... ▶️ Robot Test Drive
  5. The robot will begin running, and you'll see the results of the run on your screen.

Via RCC

Robocorp provides RCC as a CLI to run robots locally. To get started:

  1. Install RCC via these instructions
  2. Open a terminal and navigate to this folder
  3. Run this command to start your robot:
    rcc run

See the RCC quickstart documentation for more information.

Via Python

No third party packages are needed for this challenge, so you can call task.py directly via Python to run your submission locally:

$ python3 task.py --help
usage: task.py [-h] input_file output_file

CLI to rank teams from a list of game results

positional arguments:
  input_file   Location of input CSV
  output_file  Location to write output CSV

optional arguments:
  -h, --help   show this help message and exit

Note: your submission will be run as a robot process via the Robocorp framework using Python 3.7.5. Please ensure that your submission is structured correctly according to Robocorp’s documentation.

Robocorp Cloud

☁ Using Robocorp Cloud is optional for this challenge.

See Control Room Documentation for further instructions.


Licenses and Attributions

This source code and documentation is adapted from the "Process Invoices with Amazon Textract" example provided by Robocorp.

📰 See license at LICENSE.


Resource Links

About

A digital worker that processes results from a hockey league and ranks each team by score

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages