Skip to main content

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.

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'

Build FastFlows

To build stand alone image:

    docker build . -f docker/Dockerfile -t fastflows

Run Prefect witn DB in Docker-Compose

    docker-compose -f ./docker/docker-compose.yml up  --build

To enter UI:

    # if you will try to use 0.0.0.0 you will not see any data because of CORS issues
    http://localhost:4200/flows

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.0.dev1657133810.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

fastflows-0.1.0.dev1657133810-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file fastflows-0.1.0.dev1657133810.tar.gz.

File metadata

  • Download URL: fastflows-0.1.0.dev1657133810.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.7.13 Darwin/19.6.0

File hashes

Hashes for fastflows-0.1.0.dev1657133810.tar.gz
Algorithm Hash digest
SHA256 e97732c7313fcdc77aa96ec0f71672626d31f8c5a1b72c39ca5b9c9556c626ba
MD5 ae54a1ffd2f00844d136f48817e82d06
BLAKE2b-256 0ca76645cdf8bd699d940ca9a258726595db7b90677b9128bd950848bd38c839

See more details on using hashes here.

File details

Details for the file fastflows-0.1.0.dev1657133810-py3-none-any.whl.

File metadata

File hashes

Hashes for fastflows-0.1.0.dev1657133810-py3-none-any.whl
Algorithm Hash digest
SHA256 f0f65000acba29a1020a08017f8e6f9de9de4e12257c498cfc7ce13f9e11f8f8
MD5 03fef7b08a679c7a91aaa547795080c4
BLAKE2b-256 c2110098ca160b7384207b2ab824f1a6afe1143f3a115d05f32330e1ecb0f951

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