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.1.tar.gz
(25.2 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.1-py3-none-any.whl
(19.1 kB
view details)
File details
Details for the file kalcend-0.8.1.tar.gz.
File metadata
- Download URL: kalcend-0.8.1.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8533fe727a4bf9ed3ed0ba6b74c583a8f5f9a4284fcafe1c19c60c4d540dfa18
|
|
| MD5 |
8368f64f5ac17c50de45ca5a692a1ee2
|
|
| BLAKE2b-256 |
f033327691f7007935da05540262e6cdfb6bc901ef50cce0ef1e6c2e76ed055a
|
File details
Details for the file kalcend-0.8.1-py3-none-any.whl.
File metadata
- Download URL: kalcend-0.8.1-py3-none-any.whl
- Upload date:
- Size: 19.1 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 |
4d9ce49800d62901105ad5b4d9301e8e6a49bc95018f74d4681f0d857c203307
|
|
| MD5 |
5b531b57535bb6bfe34811b50962817d
|
|
| BLAKE2b-256 |
f9d8a57fa60ca3855f129b44a452084c122441cc826abd49cf5a8f225fe16ccb
|