Python SDK for Workshop.ai connectors — execute actions and manage triggers
Project description
workshop-connect
Python SDK for Workshop.ai connectors — execute actions and manage triggers through the Workshop proxy.
Installation
pip install workshop-connect
Quick Start
Python SDK
from workshop_connect import ConnectorClient
# Auto-detect connector from environment variables
client = ConnectorClient.from_connector("gmail")
result = client.execute("GMAIL_GET_PROFILE", {"userId": "me"})
print(result)
# Or with an explicit prefix
client = ConnectorClient.from_env(prefix="MYGMAL")
Async SDK (for FastAPI / async apps)
from workshop_connect import AsyncConnectorClient
async with AsyncConnectorClient.from_connector("gmail") as client:
result = await client.execute("GMAIL_GET_PROFILE", {"userId": "me"})
FastAPI Integration
from fastapi import FastAPI
from workshop_connect import AsyncConnectorClient
app = FastAPI()
@app.get("/api/emails")
async def list_emails():
async with AsyncConnectorClient.from_connector("gmail") as client:
return await client.execute("GMAIL_LIST_EMAILS", {"maxResults": 10})
Environment Variables
Each connected account injects three environment variables:
<PREFIX>_COMPOSIO_PROXY_URL # Workshop proxy URL
<PREFIX>_COMPOSIO_CONNECTED_ACCOUNT_ID # Connected account ID
<PREFIX>_WORKSHOP_API_KEY # Bearer token
<PREFIX>_COMPOSIO_APP_NAME # Toolkit name (optional, for disambiguation)
License
Apache-2.0
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
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
File details
Details for the file workshop_connect-0.1.0.tar.gz.
File metadata
- Download URL: workshop_connect-0.1.0.tar.gz
- Upload date:
- Size: 138.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21c0d342b7dca2cb8f7cd2721060ad6c5c1823717342e8fa0a7e2ec44b6739ed
|
|
| MD5 |
1d717c602565e3131dbec8ff645bb6b3
|
|
| BLAKE2b-256 |
d5881304d52df8a6e02598ad54078c79186a5cd1e27cc208278d7593ccc18562
|
Provenance
The following attestation bundles were made for workshop_connect-0.1.0.tar.gz:
Publisher:
publish.yml on atlasfutures/workshop-connect
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
workshop_connect-0.1.0.tar.gz -
Subject digest:
21c0d342b7dca2cb8f7cd2721060ad6c5c1823717342e8fa0a7e2ec44b6739ed - Sigstore transparency entry: 1391781834
- Sigstore integration time:
-
Permalink:
atlasfutures/workshop-connect@ec8ff7853bad2dc781407bc4f2dce29377fbe5c8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/atlasfutures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec8ff7853bad2dc781407bc4f2dce29377fbe5c8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file workshop_connect-0.1.0-py3-none-any.whl.
File metadata
- Download URL: workshop_connect-0.1.0-py3-none-any.whl
- Upload date:
- Size: 138.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6396dd7e9204262305235801f572cdf6375429b54a052270952670649c2fc54d
|
|
| MD5 |
c025d2983df6b463dffba0ea56a0a1e7
|
|
| BLAKE2b-256 |
6c6494ecc06bf093e01d043bf5d946e4f49d8e431a8fedda3c824f5241e46ac8
|
Provenance
The following attestation bundles were made for workshop_connect-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on atlasfutures/workshop-connect
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
workshop_connect-0.1.0-py3-none-any.whl -
Subject digest:
6396dd7e9204262305235801f572cdf6375429b54a052270952670649c2fc54d - Sigstore transparency entry: 1391781835
- Sigstore integration time:
-
Permalink:
atlasfutures/workshop-connect@ec8ff7853bad2dc781407bc4f2dce29377fbe5c8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/atlasfutures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec8ff7853bad2dc781407bc4f2dce29377fbe5c8 -
Trigger Event:
push
-
Statement type: