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.
Metadata
Release files for PoolFlow 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PoolFlow-0.0.6.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PoolFlow-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.0 kB
Release files / PoolFlow-0.0.6.tar.gz
| Download URL | PoolFlow-0.0.6.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18467dbc8bbdf44180b2fc6983cd48fa7d5aebaa8c3b44cc3ff9f6b03676786a
|
|
BLAKE2b-256 checksum How to use checksums |
d2c478bb10bb788d1459c22615c86457ffbd78acbdfc268f940ad26c3c4e6983
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / PoolFlow-0.0.6-py3-none-any.whl
| Download URL | PoolFlow-0.0.6-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92bdcbaeaa9c5670e299671d2c4718bbd800b655ccdc19bc4839a5d4628dd651
|
|
BLAKE2b-256 checksum How to use checksums |
4c6b6837c737dd2e4aa742032429c5e0c01acdde6c264c88d24e92e27a567af6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|