trigora-client
Python client for starting and controlling Trigora durable executions.
Use the same API locally with trigora dev or remotely with Trigora Cloud.
Install
pip install trigora-client
Quick example
from trigora_client import Client
client = Client()
run = client.executions.start("approval", {"request": "example"})
run.send("approved", "ok")
result = run.result()
print(result)
Local and Cloud
By default, the client connects to the local runtime started by trigora dev.
client = Client()
To connect to Trigora Cloud:
client = Client(remote=True)
Cloud requires a token. You can pass one directly or set TRIGORA_TOKEN.
import os
client = Client(remote=True, token=os.environ["TRIGORA_TOKEN"])
You can also connect to a custom endpoint:
client = Client(url="http://127.0.0.1:3477")
Endpoint defaults:
- Local runtime:
TRIGORA_RUNTIME_URLorhttp://127.0.0.1:3477 - Trigora Cloud:
TRIGORA_API_BASE_URLorhttps://api.trigora.dev
An explicit url overrides the default endpoint. An explicit token is sent with requests to that endpoint.
API
Workspace and project operations:
whoami()projects.list()projects.create()
Programs:
deploy()programs.list()programs.get()programs.versions()
Executions:
executions.start(program, input=None)— omitted input is[]; an explicit{}is one valueexecutions.list()executions.get(id)
Execution handle:
run.idrun.send(event, payload)run.cancel()run.result()
programs.list, programs.versions, and executions.list accept optional limit and cursor arguments.
program is a program id string.
event is an event name string.
Learn more
License
MIT © 2026 Trigora, Inc.
Metadata
Release files for trigora-client 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trigora_client-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for trigora_client-1.0.1-py3-none-any.whl |
Release files / trigora_client-1.0.1-py3-none-any.whl
| Download URL | trigora_client-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f16ed3bbc607e9f29ff73e30ce9522b96db8beb87a16f9410578cf785c16e56
|
|
BLAKE2b-256 checksum How to use checksums |
be6841c8e72ef008056423f9e4432ee6c33216e2ccae74b1d728403fe6277581
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for trigora-client 1.0.1
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.