Skip to main content

Kalcend Python SDK — execute Kalcend tools from any agent runtime; ships a Hermes plugin for hosted Teammates.

Project description

kalcend

Execute Kalcend tools from Python. Designed for use inside OpenAI shell containers.

Install

pip install kalcend

Usage

from kalcend import run, run_df, download, upload

# Execute any tool
result = run("db_query", query="SELECT * FROM users", credential_id="cred_123")

# Get results as a DataFrame
df = run_df("db_query", query="SELECT * FROM orders", credential_id="cred_123")

# Download a file from the org store
download("file_abc", "/mnt/data/input.csv")

# Upload a file to the org store
upload("/mnt/data/chart.png", "Q1_Chart.png")

Environment

  • KALCEND_TOKEN — JWT token (auto-injected by OpenAI domain_secrets)
  • KALCEND_BASE_URL — API base URL (default: https://api.kalcend.com/agent-exec)

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

kalcend-0.7.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

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

kalcend-0.7.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file kalcend-0.7.0.tar.gz.

File metadata

  • Download URL: kalcend-0.7.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for kalcend-0.7.0.tar.gz
Algorithm Hash digest
SHA256 5d3aeadb14842ab2fcd347c768c2fe9b19a17c26011eb999958a7446e2151b88
MD5 e0c54716884e937479b02f2d9525a304
BLAKE2b-256 d25f7ec5aaae7768eaa88011b148d010578c4529ce504e5497870200a51ab7aa

See more details on using hashes here.

File details

Details for the file kalcend-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: kalcend-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for kalcend-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14c0fe943860ccd20d2828c2480e1731acdf3685dbaa5328ef0d65bfc32bb65f
MD5 580a2fcf6ede0c1f9e16623b9eb3ad04
BLAKE2b-256 cca89c3924ae8516998e3479f81100ecb6aeadd33f322c0aa50f91fd68185790

See more details on using hashes here.

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