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
Release history Release notifications | RSS feed
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.8.0.tar.gz
(20.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
kalcend-0.8.0-py3-none-any.whl
(17.7 kB
view details)
File details
Details for the file kalcend-0.8.0.tar.gz.
File metadata
- Download URL: kalcend-0.8.0.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7c17954d7dcd4aff4bd7ae6e4f8200a1a5ecaa8a384d0949af1da23be56ae25
|
|
| MD5 |
05db444ece18b13a6de7d4809ef35ba8
|
|
| BLAKE2b-256 |
7a197722a3b0582b8c0a019e49cd6b3c9d97b39f6fc04468ae53f41c3be73955
|
File details
Details for the file kalcend-0.8.0-py3-none-any.whl.
File metadata
- Download URL: kalcend-0.8.0-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
624fc31f1b20b2863fdcb94e207701f36563d438a60da1cdf2a8bd4d3cc4ff56
|
|
| MD5 |
4806f51215e766362e208e57ce2666c7
|
|
| BLAKE2b-256 |
f3177769db86f845efe49d63637ac557ca5fa290e992d3843fffd5450a492716
|