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.1.tar.gz (6.6 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.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file toxo_cloud-0.1.1.tar.gz.

File metadata

  • Download URL: toxo_cloud-0.1.1.tar.gz
  • Upload date:
  • Size: 6.6 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.1.tar.gz
Algorithm Hash digest
SHA256 d3fff2247d1a12e842b8f381931abe074f87da0b52a94daed7a117622982c3e3
MD5 749f4f1f77cf4b8d002476df457527fe
BLAKE2b-256 4b50db95527b0cba35314d3d182fe87d7c59149a19c0f654af8250a84bb9282d

See more details on using hashes here.

Provenance

The following attestation bundles were made for toxo_cloud-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: toxo_cloud-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9af72d5f69df92c5d2757604c575f44bf6a9101b8e7743e3e4760349f49a8d5
MD5 0645a9b780c9a1077e5d452cfa978664
BLAKE2b-256 1d6e06c8cec27bc56b5bde0b3bd1d8ccbce1deecb0cf06a5d13b7db2f67f9c9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for toxo_cloud-0.1.1-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