This release is a pre-release and may not be stable for production use.
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
Metadata
Release files for fastflows 0.1.0.dev1656870221
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastflows-0.1.0.dev1656870221.tar.gz | 21.7 kB | Without provenance | Details for fastflows-0.1.0.dev1656870221.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastflows-0.1.0.dev1656870221-py3-none-any.whl | Python 3 | none | any | Details for fastflows-0.1.0.dev1656870221-py3-none-any.whl |
Total release size: 52.9 kB
Release files / fastflows-0.1.0.dev1656870221.tar.gz
| Download URL | fastflows-0.1.0.dev1656870221.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
773f8eff8793723ed35534ed6c218e4bd7d2bb1aa79f76226d2fba86d7c020e8
|
|
BLAKE2b-256 checksum How to use checksums |
4715d6dd314d7e19f61561d276c23487ef7d329b65ca7135515f69e9fa7a5de5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.7.13 Darwin/19.6.0
|
Release files / fastflows-0.1.0.dev1656870221-py3-none-any.whl
| Download URL | fastflows-0.1.0.dev1656870221-py3-none-any.whl |
|---|---|
| Size | 31.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f38de4dec219d315832b3f937512ab88259e78e133d3b1f61a4b4593638b1e7
|
|
BLAKE2b-256 checksum How to use checksums |
8f5bb3d2cac17aaa1ccb41d499f696c46bfae7cd11311d98d786fac9c0e49ff4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.7.13 Darwin/19.6.0
|
Security for fastflows 0.1.0.dev1656870221
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.