Skip to main content

A simple process management library

Project description

PoolFlow

A simple process management library

Introduction

PoolFlow provides simple objects to manage the execution of a variety of tasks and its memory usage. The main objective of PoolFlow is to perform a lot of scientific calculations and manage their successive executions through the subprocess library.

Schematic principle

The way PoolFlow works could be synthesized by the following diagram. A list of jobs is given and the pool object manage the available virtual memory, considering the maximum estimated cost of the job given by the user.

graph LR
A[Job with<br>given cost]-->|Set of parameters|B{Pool};
B-->C[Estimated usage<br>memory];
C-->|Not enough<br>memory|B;
C-->|Memory available<br>and allocated|D[Job is<br>launched];
D-->|Job is done<br>memory est released|B;

Installing

The only external package SourceFlow depends on is rich. Install it directly via pip:

pip install PoolFlow

Documentation

Warning and known issues

PoolFlow uses management resources via resource native package. Due to the way resource work, some limitation and unlimitation procedures are only available on Unix.

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

PoolFlow-0.0.6.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

PoolFlow-0.0.6-py3-none-any.whl (13.3 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