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.11.tar.gz (8.4 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.11-py3-none-any.whl (74.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qpool-0.5.11.tar.gz
Algorithm Hash digest
SHA256 a3d075ec55af66d19d68d3ea25254356c6c6a6063088f6b4fadb0c306d7882dc
MD5 93f5b01763b2ff0ee362784a4b1998ba
BLAKE2b-256 1c84b684c114e01045b3c5007d848889c09a0a3bf891859c0e1ecfdf4b730780

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qpool-0.5.11-py3-none-any.whl
Algorithm Hash digest
SHA256 2b18678b230a2afcd9b70d9041d32d69447b6d15e1f270a4460f4b51583e9346
MD5 f60cfd9d8500ffc5de7a926ef7b05198
BLAKE2b-256 e36ae878a2564857abed95f363c355ad0f2c6df8dbaed7db21c12772b3633465

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