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.6.0.tar.gz (13.7 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.6.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kalcend-0.6.0.tar.gz
Algorithm Hash digest
SHA256 d04c674a126068587a8f3bcc465ff5c502ba2d4a95861aa55fa1ab8331eb21a1
MD5 8fa01626a43e1d82c5d2857f13854d67
BLAKE2b-256 bbdf0ed06eb29af69ee96e1de85dcdd765bf6e0d8f1b1157e59a9edb3e330684

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kalcend-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93dc5b8a1227c9e5d1653b2c7b4ee34e7699cb943ce76170b93468c0f1e362cc
MD5 309a44f490596ec3f878cad43e67967f
BLAKE2b-256 eb734e6c476bf29d6e6e7ff4f1776fec44797b970dbea5e02d1e25287766c745

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