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.4.0.tar.gz (9.9 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.4.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kalcend-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c69af27d606d0522b63ba20b5a76052e8afbb62c7536cf6f2e8bd41cdd87cb28
MD5 60c6eb92322132b597707d66182f6f1b
BLAKE2b-256 5e2a85a4ed976b196507a0e24785883e0cffcd6fc1a0f91a7982b83d43605aa2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kalcend-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 393cdd18a9e3949d3b94ba28ac69bc1e78f545806a380617325251c11c8463a2
MD5 6870cd4e616499ad9ea8bdb3950a8019
BLAKE2b-256 3f464a2f5d21f3732fa5794de517af43549df00b1a739e266ebc7656ca92e784

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