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)executions.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.0
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 | Reset |
|---|---|---|---|---|
| trigora_client-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / trigora_client-1.0.0-py3-none-any.whl
| Download URL | trigora_client-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35557c6f02ae856f82758c11674baae8bf9c3b84801db9ec650073e0cd38ff98
|
|
BLAKE2b-256 checksum How to use checksums |
95a4a4a9fa191af88be2a47151c4e1da5fcdf45684d51754c820e7e969861147
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|