Skip to main content

A standalone workflow spun off from Agently, featuring minimal third-party dependencies (e.g., json5).

The usage is consistent with the original Agently project(version 3.4.0.4).

Simply change the import statement to agently_workflow:

from agently_workflow import Workflow

workflow = Workflow()


@workflow.chunk()
def task_1(inputs, storage):
    return {"value": "1"}


@workflow.chunk()
def task_2(inputs, storage):
    return {"value": "2"}


@workflow.chunk()
def echo(inputs, storage):
    print("[Data Received]: ", str(inputs))
    return inputs


(
    workflow
    .connect_to(workflow.chunks["task_1"])
    .connect_to(workflow.chunks["echo"].handle("input_handle_a"))
)
(
    workflow
    .connect_to(workflow.chunks["task_2"])
    .connect_to(workflow.chunks["echo"].handle("input_handle_b"))
)
workflow.chunks["echo"].connect_to(workflow.chunks["END"])

result = workflow.start()
print(result)

Release files for agently-workflow 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agently-workflow 0.1.3
File Size Uploaded
agently_workflow-0.1.3.tar.gz 54.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agently-workflow 0.1.3
File Interpreter ABI Platform
agently_workflow-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 122.1 kB

Release files / agently_workflow-0.1.3.tar.gz

Download URL agently_workflow-0.1.3.tar.gz
Size 54.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d7f4a787e5774a1eec17c8db244e2472c141fd63545d64d49321ea95978bb0c2
BLAKE2b-256 checksum
How to use checksums
d5c0651ca42e9bd22c7c285a7b30598632252ad29bba489471d641a4f3a32407
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.15

Release files / agently_workflow-0.1.3-py3-none-any.whl

Download URL agently_workflow-0.1.3-py3-none-any.whl
Size 68.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5dd587f24f32b4f0c4c2d04a6d813873422cc21720109ad05b8d0076eeef5ca3
BLAKE2b-256 checksum
How to use checksums
56bda21fa871f477ec1adce5499a1dce2d4704bb59792fd4844db7c66375fce7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.15

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

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