Skip to main content

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 .toxo file 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 /health
  • POST /v1/query
  • POST /v1/query_multimodal
  • POST /v1/feedback
  • POST /v1/train_from_data
  • POST /v1/train/extract_contexts
  • POST /v1/rag/index
  • POST /v1/rag/query
  • POST /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

toxo_cloud-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

toxo_cloud-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

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

Hashes for toxo_cloud-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ade3adc79fa964f29e23de6d42bedc0182e4a1f22a9882b53c4d9ed24ba8c27
MD5 5d145b77f71698e913d254929e0674a0
BLAKE2b-256 d8176664b8c91df0509d4926e4bcb42ca4f16110b654c5b368f1bcc05b7cce1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for toxo_cloud-0.1.0.tar.gz:

Publisher: publish.yml on spiderdev27/toxo-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for toxo_cloud-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f25cd29c733fcef90fb3a0fec6bcb6d8e7fd025227bcbb2b221b0b0a42318b15
MD5 48f8dc138b0014a11ff35df0eb07f279
BLAKE2b-256 87ee033b31f6f88721bec153c848b6b7f73549da89a21a9db534c930879de196

See more details on using hashes here.

Provenance

The following attestation bundles were made for toxo_cloud-0.1.0-py3-none-any.whl:

Publisher: publish.yml on spiderdev27/toxo-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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