Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastflows-0.1.2.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

fastflows-0.1.2-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

Details for the file fastflows-0.1.2.tar.gz.

File metadata

  • Download URL: fastflows-0.1.2.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for fastflows-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b787c8d3e0e1b0fa912a050d66441874eee194125a395ab89544e5598a66d991
MD5 cda00095eba4614dc5a4c5cdaeb59de3
BLAKE2b-256 c615b0af069bf32109d2a0fbabf7cda5464ca925ce8dcd850cd24f912181ee0a

See more details on using hashes here.

File details

Details for the file fastflows-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fastflows-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 38.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for fastflows-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ea06ecedcae9a7f5bce08d7e8e08dee2f61f1439607a7e6eccc6e119976eaa0
MD5 9e241852d23ea230050bcda0e2c8cca1
BLAKE2b-256 e6cbf3149237cfa7e55c8192d91694ede983565fd9e784edcee820e6a219fa05

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page