Skip to main content

cy-sdk

The agent-facing client for the Cy gateway. Distributed as cy-sdk, imported as cy_sdk:

from cy_sdk import api

# connected services (api.<service>.<verb>)
accounts = api.klaviyo.get("/api/accounts/", headers={"revision": "2024-07-15"})
api.klaviyo.post("/api/lists/", body={"data": {"type": "list", "attributes": {"name": "VIPs"}}})

# Slack (the bot token stays in the gateway, never here)
api.slack.message(channel, "hello")

Stdlib-only (urllib); reads CY_GATEWAY_URL + CY_API_KEY from the environment. Talks to the Cy gateway's /agent/* endpoints. Not connected → NotConnected; a write that needs human sign-off → blocks on approval, then proceeds.

Metadata

Release files for cy-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cy-sdk 0.1.0
File Size Uploaded Provenance Actions
cy_sdk-0.1.0.tar.gz 4.2 kB Without provenance Details for cy_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cy-sdk 0.1.0
File Interpreter ABI Platform Actions
cy_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for cy_sdk-0.1.0-py3-none-any.whl

Total release size: 8.9 kB

Release files / cy_sdk-0.1.0.tar.gz

Download URL cy_sdk-0.1.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6ce6726075be6d5a20344d4a17131fa1ff1bc89d36974776ec85a66a7663f6f9
BLAKE2b-256 checksum
How to use checksums
bc43dcf4df75be403bd8ec0ce84d0edf228860cc7b7aa0f4f5b051c1d2c2795f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / cy_sdk-0.1.0-py3-none-any.whl

Download URL cy_sdk-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab55c64f0265e8fdf59ffd2ac257de954af8bf4b49a44cfb5bed11b43211aa05
BLAKE2b-256 checksum
How to use checksums
bd19dc2b242db43633deaec2a7ce97f3e535cdd738fe5607050811aed7db6994
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Security for cy-sdk 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page