Skip to main content

r2flow-cloud-client

Thin Python client for the r2flow-cloud orchestrator REST API.

pip install r2flow-cloud-client
from r2flow_cloud_client import R2FlowCloud

sc = R2FlowCloud("http://localhost:8000", token="r2f_...")

process = sc.create_process("hello", files={"main.py": 'print("hi")'})
agent = sc.list_agents()[0]
sc.deploy_process(process["id"], agent["id"])
run = sc.run_process(process["id"], agent["id"])
result = sc.wait_run(process["id"], run["id"], timeout_s=120)
print(result["status"])

# REFramework-style queues
sc.create_queue("invoices")
sc.add_queue_items("invoices", [{"file": "a.pdf"}, {"file": "b.pdf"}])
item = sc.claim_queue_item(agent["id"], "invoices", run["id"])
sc.complete_queue_item(agent["id"], item["id"], run["id"], status="success")

Any HTTP client works too — the API is plain REST with Swagger at /docs.

Metadata

Release files for r2flow-cloud-client 0.1.0

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

Source distribution (sdist)

Source distribution for r2flow-cloud-client 0.1.0
File Size Uploaded
r2flow_cloud_client-0.1.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for r2flow-cloud-client 0.1.0
File Interpreter ABI Platform
r2flow_cloud_client-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / r2flow_cloud_client-0.1.0.tar.gz

Download URL r2flow_cloud_client-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f2263f82e06fe5563bd30e475c144592940f50bbbae87276a894a8d2e625b4c1
BLAKE2b-256 checksum
How to use checksums
4de92d15b32af0b4a74d7914699387b6c18376a696c1a990ba7ff21185c4c96c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / r2flow_cloud_client-0.1.0-py3-none-any.whl

Download URL r2flow_cloud_client-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
647ba4d3beae91c480cf2f01dd8b9ebe2003fbfa586c5fb96ad5f1a41c19be0f
BLAKE2b-256 checksum
How to use checksums
0e5c1940df2443670fa2309a182d88396cceec79743796f725c6f584d243cc61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 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