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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
thoa-0.1.4-py3-none-any.whl
(30.9 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dbbd1b6d07aef4a50d363e70be6ca18ba597808feeedd06a80c601cca108fc5
|
|
| MD5 |
624edec5a66606e48f722d2ef33c8e4f
|
|
| BLAKE2b-256 |
71b709190be7321dd38a5cd5230c92b2444ef240a6d65d80753639a4c3420ae0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dfb0f881a89d9b6274a404d9d77fed231240072570794d6fa80c8ee261a5c3c
|
|
| MD5 |
a65cee3e5a1073103dfe540e51140934
|
|
| BLAKE2b-256 |
f117783e944c93645a0399d8e12244ee5a98650e0652921ff5df3740774c1628
|