processmanager
A multiprocessing process manager for Python programs
It provides:
- Simple offloading of work to other processor cores
- State management for the functions in those processes
- It is easy to cancel in-progress work, which can be useful if a user clicks 'Cancel' in a GUI
- Logging of exceptions while running offloaded functions
- Streaming of results to main process from generator functions
- This can help smooth out IPC load curve by avoiding an all-at-once result transfer
Original use case:
- GUI program that calls back-end functions for work
- GUI has a cancel button that should always work, so:
- the GUI mainloop should not be blocked
- the called functions should intermittently check if the user has pressed the cancel button
- Want to avoid running new work when the user wants to cancel
- Want to work with generators and multiprocessing
- e.g. send results constantly to main process instead of all at once
Installation:
- pip install processmanager
Documentation:
Tested for Python >=3.6.5 on Linux (Ubuntu) and Windows 7/10
Metadata
Release files for processmanager 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| processmanager-0.1.1.tar.gz | 31.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| processmanager-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.9 kB
Release files / processmanager-0.1.1.tar.gz
| Download URL | processmanager-0.1.1.tar.gz |
|---|---|
| Size | 31.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48e01a1c85ee79cd41127c9230c54701dadacad73a30eb3d071020aae0e158f1
|
|
BLAKE2b-256 checksum How to use checksums |
885edc1c0ec340a99aee107c80e39327e46f4b7bdd23bedc10066003015fd074
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9
|
Release files / processmanager-0.1.1-py3-none-any.whl
| Download URL | processmanager-0.1.1-py3-none-any.whl |
|---|---|
| Size | 44.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91999ff77f23411c387395b696d2ae7356ae75a662b8fd3fc84756c233e06f18
|
|
BLAKE2b-256 checksum How to use checksums |
521596b23d057d847aa154378553a533fca3de7db430874f3a185f15e961a774
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9
|
Security for processmanager 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.