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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pipeline_factory-0.0.1a0.tar.gz.

File metadata

  • Download URL: pipeline_factory-0.0.1a0.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for pipeline_factory-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 395b4f23d9faa4556e49bd45c7b066cb843b6a87c03f33d2981bdc1937731ad0
MD5 c052732cb46bacfa62e1d557367e4acf
BLAKE2b-256 60db3b438ce0a156bf9824c2b53c0177be7f9200536a96d10b00e38c21105229

See more details on using hashes here.

File details

Details for the file pipeline_factory-0.0.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for pipeline_factory-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 081bb2996c4cc36da018b5347e7e6201b64d0137f9ef390726d8b464f0174d0e
MD5 5405b7245ae5492f65c28f41e1e60e27
BLAKE2b-256 de277709f4d38b20c2baebc5ac9f76573f60c348dd7913a94f3bb17b7724099a

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