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

Uploaded Source

Built Distribution

PoolFlow-0.0.6-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PoolFlow-0.0.6.tar.gz
  • Upload date:
  • Size: 9.6 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.6.tar.gz
Algorithm Hash digest
SHA256 18467dbc8bbdf44180b2fc6983cd48fa7d5aebaa8c3b44cc3ff9f6b03676786a
MD5 9b3c21025adf0c22ed595aa1006db580
BLAKE2b-256 d2c478bb10bb788d1459c22615c86457ffbd78acbdfc268f940ad26c3c4e6983

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: PoolFlow-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 92bdcbaeaa9c5670e299671d2c4718bbd800b655ccdc19bc4839a5d4628dd651
MD5 66a1062138e294a90563db6681345c0e
BLAKE2b-256 4c6b6837c737dd2e4aa742032429c5e0c01acdde6c264c88d24e92e27a567af6

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