Skip to main content

Execute Kalcend tools from Python — run(), download(), upload()

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.3.0.tar.gz (5.0 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.3.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kalcend-0.3.0.tar.gz
Algorithm Hash digest
SHA256 de3e9541bf0b761eb8de5bf72fbb03000d87acdbc64dbd31ffdb2c8e6236d486
MD5 7ce9b1805c4edcccbcc7f0f7312234cd
BLAKE2b-256 bd02e41023f6b7f4c44b133a1cb4de1d8bf9ad20eeaddf6bcca210b8d237e2de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kalcend-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2b75c2726a30173f3056738b058b5d8c986edf961fd176e836c84626e5d72a8
MD5 1653858b45084f91a72c6b47e889d52b
BLAKE2b-256 9dad6f8ea832d7728ea9eceb4655e406ee276a12beee6b97556b64d9eb59d45d

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