The Opthub Client is a Python package that provides the following features:
This document explains the detailed usage of the OptHub CLI.
Make sure you have Python 3.10 or higher installed and that you have set up pip as your package manager. Then, run the following command to install opthub-client from PyPI.
$ pip install opthub-client
In this tutorial, we will explain how to submit solutions for the competitions you are participating in and how to review the history of your submissions.
To submit solutions, you need to create an account and join a competition beforehand.
👉 How to Create an Account and Join a Competition
Execute opt login
 and enter your username and password.
$ opt login
Username: [username] # Your username
Password: [password] # Your password
Hello [username]. Successfully logged in.
âš You need to create an account and verify your email address beforehand.
Execute opt select
 and select a competition and match.
$ opt select
? Select a competition: [competition_id] # Use ↑↓ keys to select a competition
? Select a match: [match_id] # Use ↑↓ keys to select a match
You have selected [competition_id]/[match_id]
âš You need to join at least one competition beforehand.