Skip to main content

Python server framework to define, manage, schedule and execute custom defined code pipelines and series of pipeline across multiple worker processes

Project description

                                        O
                                       ( ))
                                      (    )
                                     (   )  )
                                    (  )   )
                                     (  ) )
                                      (  )
                                      (   )
                                       ( )
                              ──┐      ──┐
                            /   │    /   │
                           /    │   /    │
                          /     │  /     │
                         /      │ /      │
                        /       │/       │
                       /        │        │
                      ┌─────────┴────────┴┐
                      │                   │
                      │ ┌──┐             ┌┘ ┌──┐
                      │ │  │      ┌─┐    │  │  │  ┌──┐
                      │ └──┘      │ │    └┬─┴──┴──┴──┴───
                      │           │ │     │* * * * * * * O
                      └───────────┴─┴─────┘---------------
    ____  _            ___               ______           __
   / __ \(_)___  ___  / (_)___  ___     / ____/___ ______/ /_____  _______  __
  / /_/ / / __ \/ _ \/ / / __ \/ _ \   / /_  / __ `/ ___/ __/ __ \/ ___/ / / /
 / ____/ / /_/ /  __/ / / / / /  __/  / __/ / /_/ / /__/ /_/ /_/ / /  / /_/ /
/_/   /_/ .___/\___/_/_/_/ /_/\___/  /_/    \__,_/\___/\__/\____/_/   \__, /
       /_/                                                           /____/

Pipeline Factory is a Python server framework to define, manage, schedule and execute custom defined code pipelines and series of pipeline across multiple worker processes.

  • Based on Fastapi and Python multiprocessing

  • Define pipelines of action steps to process data, make api calls, generate artifacts etc.

  • Resumable pipelines where steps can define recovery action to avoid redoing work

  • Run series of pipelines based on state/ results of previous pipelines

  • Cron schedule tasks to auto run or resume pipelines

  • Tasks that run pipelines execute on a worker process pool

  • Add python callables as custom tasks, to extend pipeline execution capabilities or support execution of arbitrary work on worker pool

Installation

pip install pipeline-factory

Example usage

Example app

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

pipeline_factory-0.0.1a0.tar.gz (19.7 kB view hashes)

Uploaded Source

Built Distribution

pipeline_factory-0.0.1a0-py3-none-any.whl (18.5 kB view hashes)

Uploaded Python 3

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