Skip to main content

Flowdapt Python SDK

GitLab Release (latest by SemVer) GitLab PyPI - Python Version

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)

Table of built distributions (wheels) for flowdapt_sdk 0.1.8
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.8 This release

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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