FastFlows is a FastAPI server & command line tool to comunicate with Prefect 2.0 as a Workflow manager (and in future other systems like Pygeoapi, for example) to deploy, run, track flows and more.
Project description
Run FastFlow server
FastFlows is a FastAPI server & command line tool to comunicate with Prefect 2.0 as a Workflow manager to deploy, run, track flows and more.
To start work with FastFlows you should define at least 2 environment variables:
# Prefect API Server address
PREFECT_URI=http://localhost:4200
# Path to folder with flows
FLOWS_HOME=flows
If you want to define variables with env prefix, for example, like 'LOCAL_PREFECT_URI' or 'DEV_PREFECT_URI' you can use environment variable 'ENV_NAME'
If Fastflow will see 'ENV_NAME' variable in environment - it will search for variables with prefix defined in this ENV_NAME, for example:
if ENV_NAME = 'LOCAL'
Fastflows will read variables like LOCAL_PREFECT_URI and LOCAL_FLOWS_HOME,
if ENV_NAME = 'dev', then fastflow will expect variables like 'dev_PREFECT_URI' and 'dev_FLOWS_HOME'
How to run FastFlows with Prefect cluster
with Kubernetes
with Docker-Compose
Run cli
fastflows --help
Flows Deployment
Auto deployment
Deployment of Flows can be done by FastFlows automatically: if there is a new flow or changes in FLOWS_HOME directory - FastFlow create new deployment. To disable auto deployment set env variable to 0
FASTFLOWS_AUTO_DEPLOYMENT = 0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fastflows-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 045d7f8af6e00c524e9df8a01bf012987738047ee9b34bdbac87b72dd1869795 |
|
MD5 | aff08d4e99ceb2e4a77b221e246f390f |
|
BLAKE2b-256 | 4f038a11f1e963afaa7eee00a14f995bc4b404a920e28c25afc3e3f07d871185 |