Metadata-Version: 2.4
Name: lambdaflow
Version: 0.1.2
Summary: A truly serverless Airflow on your own AWS account: Airflow 3 DAG files on Lambda, Step Functions, EventBridge Scheduler and DynamoDB, ≈ $0 when idle. Python client for the deployment.
Author: Frank Zhang
License: MIT
Project-URL: Homepage, https://github.com/cloudformer/lambdaflow
Project-URL: IdleFree, https://cloudformer.github.io/
Project-URL: Repository, https://github.com/cloudformer/lambdaflow
Project-URL: Deploy, https://github.com/cloudformer/lambdaflow#quick-start
Project-URL: Compatibility, https://github.com/cloudformer/lambdaflow/blob/main/tests/compat/REPORT.md
Project-URL: Changelog, https://github.com/cloudformer/lambdaflow/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/cloudformer/lambdaflow/issues
Keywords: serverless,aws,lambda,airflow,mwaa,step-functions
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Provides-Extra: server
Requires-Dist: boto3; extra == "server"
Requires-Dist: jinja2; extra == "server"
Requires-Dist: tzdata; extra == "server"

# lambdaflow

**Python client for [lambdaflow](https://github.com/cloudformer/lambdaflow) — a truly serverless Airflow:
Airflow 3 DAG files on Lambda, Step Functions, EventBridge Scheduler, DynamoDB and S3, ≈ $0 when idle.**
Part of [IdleFree](https://cloudformer.github.io/).

![lambdaflow console](https://raw.githubusercontent.com/cloudformer/lambdaflow/main/docs/console.svg)

![lambdaflow architecture](https://raw.githubusercontent.com/cloudformer/lambdaflow/main/docs/architecture.svg)

```bash
pip install lambdaflow
```

```python
from lambdaflow import client

lf = client.connect("https://xxxx.lambda-url.us-east-2.on.aws", "admin", "secret")   # terraform output console_url
lf.upload("my_dag.py")                                   # parsed at once; import errors come back
run_id = lf.trigger("my_dag", conf={"x": 1}, unpause=True)
print(lf.wait("my_dag", run_id))                         # "success" | "failed"
print(lf.log("my_dag", run_id, "extract"))
print(lf.cli("dags list-runs my_dag"))                   # the airflow commands of the console's command box
```

Standard library only. The deployment comes from the [main repository](https://github.com/cloudformer/lambdaflow)
(Terraform). Compatibility with Airflow 3.3:
[REPORT.md](https://github.com/cloudformer/lambdaflow/blob/main/tests/compat/REPORT.md).
