/test1_thoughtful

test1_thoughtful

Primary LanguagePythonApache License 2.0Apache-2.0

ℹ 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

How to Run

  • Clone the repository
  • Run into terminal: python3 task.py input_file output_file

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

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