Metadata-Version: 2.4
Name: thoa
Version: 0.1.5
Summary: Thoa Command Line Interface for Remote Job Submission
License: MIT
License-File: LICENSE
Author: GWC GmbH
Author-email: hello@gwc-solutions.ch
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: azure-storage-blob (>=12.26.0,<13.0.0)
Requires-Dist: httpx (>=0.28.1,<0.29.0)
Requires-Dist: pydantic-settings (>=2.10.1,<3.0.0)
Requires-Dist: typer (>=0.16.0,<0.17.0)
Requires-Dist: typing-extensions (>=4.14.1,<5.0.0)
Requires-Dist: websockets (>=15.0.1,<16.0.0)
Description-Content-Type: text/markdown

# thoa
Thoa CLI for submitting jobs to Thoa platform

## Install local virtual environment
### 1) Install dependencies
```bash
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`:
```bash
echo 'export THOA_API_KEY="generated_api_key_here"' >> ~/.bashrc
````
- `THOA_API_URL`:
```bash
echo 'export THOA_API_URL="http://localhost:${FRONTEND_PORT}"' >> ~/.bashrc
````
### 3) Refresh console:
```bash
source ~/.bashrc
```

## Re-use CLI with a local virtual environment
### Activate venv and use it
```bash
cd ~/thoa/thoa
python3 -m venv venv
source venv/bin/activate
```
