Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qpool-0.5.13.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qpool-0.5.13-py3-none-any.whl (75.8 kB view details)

Uploaded Python 3

File details

Details for the file qpool-0.5.13.tar.gz.

File metadata

  • Download URL: qpool-0.5.13.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for qpool-0.5.13.tar.gz
Algorithm Hash digest
SHA256 e17b227e3c27d86f05631b2257b77d7aefa490d26299ac0008672b92f48c1f0d
MD5 c1bd77ea6afc5b1d1a2a1b0152dea9ca
BLAKE2b-256 59b0a0bd8dd4cf1cb653e3ad266ddaafe70bf44e5bed283b7ae8c2f0e6631dcb

See more details on using hashes here.

File details

Details for the file qpool-0.5.13-py3-none-any.whl.

File metadata

  • Download URL: qpool-0.5.13-py3-none-any.whl
  • Upload date:
  • Size: 75.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for qpool-0.5.13-py3-none-any.whl
Algorithm Hash digest
SHA256 9aa7d68ff5ef34fb68bfe409477f6e42a49262390856bad18b1022aef70828e3
MD5 014f22a45da0248f90b20809f3afed08
BLAKE2b-256 3d28e4bc3313c71d0c347fd9f3a17ef9fcbddac804649dbac6edb2d37f7daab7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page