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.4.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

PoolFlow-0.0.4-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file PoolFlow-0.0.4.tar.gz.

File metadata

  • Download URL: PoolFlow-0.0.4.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for PoolFlow-0.0.4.tar.gz
Algorithm Hash digest
SHA256 5f2a3acc556fd8031c8dd6d7e7f32230f33b13809f4d94956ea629cc1ea7209b
MD5 53c81abf086e127b3cc7e4d4ed38cbdf
BLAKE2b-256 5c17ddeee5b089afcc654f5adf52dad475737aa9eb223a6f9f43c8a54fb36546

See more details on using hashes here.

Provenance

File details

Details for the file PoolFlow-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: PoolFlow-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for PoolFlow-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5d6457e19e93f7aba7d7b4a4566d61c72d40c6cd6c7f45842d87f69db821d4d7
MD5 056c466f791ec16d7b834cf08ddb28c2
BLAKE2b-256 bff245eb1f5be2eca4d3f7e76b8441387c3211ff5ed5d0631fa760cf6dcf22dc

See more details on using hashes here.

Provenance

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