Lightweight TOXO Cloud client and CLI for .toxo layers
Project description
toxo-cloud
Lightweight Python client and CLI for TOXO Cloud.
toxo-cloud is a connector package:
- your
.toxofile stays with you - your API key stays with you
- all heavy processing runs in TOXO Cloud infrastructure
Install
pip install toxo-cloud
Python usage
from toxo_cloud import ToxoCloudClient
client = ToxoCloudClient(
api_key="YOUR_API_KEY",
)
response = client.query(
layer="finance_expert.toxo",
question="Explain inflation in simple words."
)
print(response)
CLI usage
toxo-cloud health
toxo-cloud query my_layer.toxo "What can you do?" --api-key "$GEMINI_API_KEY"
toxo-cloud ask-doc my_layer.toxo ./report.pdf "Summarize this report" --api-key "$GEMINI_API_KEY"
Supported endpoints
GET /GET /healthPOST /v1/queryPOST /v1/query_multimodalPOST /v1/feedbackPOST /v1/train_from_dataPOST /v1/train/extract_contextsPOST /v1/rag/indexPOST /v1/rag/queryPOST /v1/agent/run
toxo-cloud
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
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
File details
Details for the file toxo_cloud-0.1.0.tar.gz.
File metadata
- Download URL: toxo_cloud-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ade3adc79fa964f29e23de6d42bedc0182e4a1f22a9882b53c4d9ed24ba8c27
|
|
| MD5 |
5d145b77f71698e913d254929e0674a0
|
|
| BLAKE2b-256 |
d8176664b8c91df0509d4926e4bcb42ca4f16110b654c5b368f1bcc05b7cce1f
|
Provenance
The following attestation bundles were made for toxo_cloud-0.1.0.tar.gz:
Publisher:
publish.yml on spiderdev27/toxo-cloud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
toxo_cloud-0.1.0.tar.gz -
Subject digest:
6ade3adc79fa964f29e23de6d42bedc0182e4a1f22a9882b53c4d9ed24ba8c27 - Sigstore transparency entry: 1171592344
- Sigstore integration time:
-
Permalink:
spiderdev27/toxo-cloud@6b58c7f63f11dbab2610303154b6815f1bf30aaa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/spiderdev27
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6b58c7f63f11dbab2610303154b6815f1bf30aaa -
Trigger Event:
push
-
Statement type:
File details
Details for the file toxo_cloud-0.1.0-py3-none-any.whl.
File metadata
- Download URL: toxo_cloud-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f25cd29c733fcef90fb3a0fec6bcb6d8e7fd025227bcbb2b221b0b0a42318b15
|
|
| MD5 |
48f8dc138b0014a11ff35df0eb07f279
|
|
| BLAKE2b-256 |
87ee033b31f6f88721bec153c848b6b7f73549da89a21a9db534c930879de196
|
Provenance
The following attestation bundles were made for toxo_cloud-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on spiderdev27/toxo-cloud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
toxo_cloud-0.1.0-py3-none-any.whl -
Subject digest:
f25cd29c733fcef90fb3a0fec6bcb6d8e7fd025227bcbb2b221b0b0a42318b15 - Sigstore transparency entry: 1171592352
- Sigstore integration time:
-
Permalink:
spiderdev27/toxo-cloud@6b58c7f63f11dbab2610303154b6815f1bf30aaa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/spiderdev27
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6b58c7f63f11dbab2610303154b6815f1bf30aaa -
Trigger Event:
push
-
Statement type: