Trait based multiprocessing with queues
Project description
QPool
Description
Multiprocessing with Process Pools implemented using Processes and Shared Memory objects.
- Built in progress bar.
- Traits for rate-limiting, exponential backoff and retry, logging, and more.
- Graceful shutdown by default (CTRL+C 2x, will kill immediately).- Allows re-use of pool after join, cutting down on process spawning time.
Debugging Tips
- If hanging, investigate stop_workers, specifically the point of joining the processes, unclosed queues and resources can prevent process closure.
Progress Icons
• 📥 initial: Tasks submitted directly by the user. • 🌱 generated: Tasks produced by other tasks. • 📜 logs: Internal tasks created for logging messages. • ❌ failures: Tasks that failed after all retries were exhausted. • 🔃 retries: Tasks that failed and were scheduled for a retry. • ↪ skipped: Tasks that were skipped (e.g., by the debounce trait). • 🛑 cancelled: Tasks that were cancelled (e.g., by the timeout trait). • ⌛ expired: Tasks that expired before they could be executed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qpool-0.5.14.tar.gz.
File metadata
- Download URL: qpool-0.5.14.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1ecbf91400d6fa4f85fc35cb30801ee42de48043edf3a23261fc45597770ecf
|
|
| MD5 |
5a361a7e2d6679c4cdc5fb3a96136435
|
|
| BLAKE2b-256 |
09cca390b0860fe7cbb82e40e048fe1c21c269fd553628c5303bccaa36174b9b
|
File details
Details for the file qpool-0.5.14-py3-none-any.whl.
File metadata
- Download URL: qpool-0.5.14-py3-none-any.whl
- Upload date:
- Size: 76.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f3a7e0a5aed868373bf6f427d7ea2b6847a73bc54b88cda57e9edb9f6cec0b5
|
|
| MD5 |
7dd2dfdd6a955570ddf10d14b06f6d78
|
|
| BLAKE2b-256 |
dbf292a2ac418bfa77b7ad4cff7314fe9766a01573184f177a98b7546565970b
|