Flowdapt Python SDK
This is the official Python SDK for the Flowdapt API. It provides a simple way to programmatically interact with Flowdapt in Python. It is asynchronous and uses httpx as the underlying HTTP client.
Installation
pip install flowdapt_sdk
Usage
import asyncio
from flowdapt_sdk import FlowdaptSDK
async def main():
async with FlowdaptSDK(base_url="http://localhost:8080/") as client:
print(await client.ping())
workflows = await client.workflows.list_workflows(version="v1alpha1")
print(workflows)
workflow = await client.workflows.get_workflow("my-workflow", version="v1alpha1")
print(workflow)
result = await client.workflows.run_workflow(
identifier="my-workflow",
input={"x": 5},
wait=True,
namespace="default",
version="v1alpha1"
)
print(result)
Metadata
Release files for flowdapt_sdk 0.1.8
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 |
|---|---|---|---|---|
| flowdapt_sdk-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Release files / flowdapt_sdk-0.1.8-py3-none-any.whl
| Download URL | flowdapt_sdk-0.1.8-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfab4e334effd8994e3b3c4f57958a4631b4ca3fb7fedd9e866d5e9dad85d1c0
|
|
BLAKE2b-256 checksum How to use checksums |
6d309464439f686874a9ef87aa1cd0163f12ca5013b0fe5e9249f8f1df0e0815
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.12 Linux/6.1.0-29-amd64
|