Skip to main content

Thoa Command Line Interface for Remote Job Submission

Project description

thoa

Thoa CLI for submitting jobs to Thoa platform

Install local virtual environment

1) Install dependencies

cd ~/thoa/thoa
python3 -m venv venv
source venv/bin/activate
pip install poetry==2.3.2
pip install

2) Create API key

Go to http://localhost:${FRONTEND_PORT}/workbench/api_keys

and add it into .bashrc for

  • THOA_API_KEY:
echo 'export THOA_API_KEY="generated_api_key_here"' >> ~/.bashrc
  • THOA_API_URL:
echo 'export THOA_API_URL="http://localhost:${FRONTEND_PORT}"' >> ~/.bashrc

3) Refresh console:

source ~/.bashrc

Re-use CLI with a local virtual environment

Activate venv and use it

cd ~/thoa/thoa
python3 -m venv venv
source venv/bin/activate

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

thoa-0.1.4.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

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

thoa-0.1.4-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file thoa-0.1.4.tar.gz.

File metadata

  • Download URL: thoa-0.1.4.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.10.20 Linux/6.17.0-1008-azure

File hashes

Hashes for thoa-0.1.4.tar.gz
Algorithm Hash digest
SHA256 0dbbd1b6d07aef4a50d363e70be6ca18ba597808feeedd06a80c601cca108fc5
MD5 624edec5a66606e48f722d2ef33c8e4f
BLAKE2b-256 71b709190be7321dd38a5cd5230c92b2444ef240a6d65d80753639a4c3420ae0

See more details on using hashes here.

File details

Details for the file thoa-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: thoa-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.10.20 Linux/6.17.0-1008-azure

File hashes

Hashes for thoa-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8dfb0f881a89d9b6274a404d9d77fed231240072570794d6fa80c8ee261a5c3c
MD5 a65cee3e5a1073103dfe540e51140934
BLAKE2b-256 f117783e944c93645a0399d8e12244ee5a98650e0652921ff5df3740774c1628

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