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.5.2.tar.gz
(13.3 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.5.2-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file kalcend-0.5.2.tar.gz.
File metadata
- Download URL: kalcend-0.5.2.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f442772c4a82c7c3a210ebe6bdd57e17c98afd1ca67c5e4edbe452f11a5275c5
|
|
| MD5 |
208282018039ddfa1171b88915039fed
|
|
| BLAKE2b-256 |
81c1d883dffdaf0ae7758d394ed1dcbac77da3d5be8a5348a5a23812c4ed87f6
|
File details
Details for the file kalcend-0.5.2-py3-none-any.whl.
File metadata
- Download URL: kalcend-0.5.2-py3-none-any.whl
- Upload date:
- Size: 10.0 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 |
069c530e8088ce91d65b7a474d39834bf871bfa7dd4f2e21273bfb76556893ff
|
|
| MD5 |
a566aea29cc093222884d130ab01f225
|
|
| BLAKE2b-256 |
166263ef7727c7a59dfd217f305e2b52d55dd30672eee4267f337cc01ce8c2f5
|