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.5.tar.gz (25.1 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.5-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thoa-0.1.5.tar.gz
  • Upload date:
  • Size: 25.1 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.5.tar.gz
Algorithm Hash digest
SHA256 56378590bf630ace2aa5607025a97c709b134f2845a220238bccc79a73976909
MD5 f1a9f3a208c34be776cd1e163a687937
BLAKE2b-256 965665eb4a48b8140bfe2486628d1239c8a70feadacaa62c54219f6be74d07c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thoa-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 31.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f92e61bc37017d3457de4da51b2d09dc0bd4317a7b82ac39378af8cdb3c2be02
MD5 b815086a020785b1931c071156d82dad
BLAKE2b-256 8591342ffe10a16c77bd5eae95f2aee1e5b9500f0fb2026e88ef29cb9260bf72

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