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.12.tar.gz (4.5 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.12-py3-none-any.whl (74.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qpool-0.5.12.tar.gz
Algorithm Hash digest
SHA256 e7ca5b067a669ed44103dc54a54a0e09258b64ef3f67571d7c3fbaabfc3f6e06
MD5 3cac20bba47336d1ce7b059576a0f0df
BLAKE2b-256 78834cd34299b4cb1e770bb7ec13720b20c31514968e249fe5784d39de3975b9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qpool-0.5.12-py3-none-any.whl
Algorithm Hash digest
SHA256 486d32534df511ea745e6b5daa9bfa567029d1aa45eb97ade560c76ab09a3d3a
MD5 43da7b0de8423c2a275e1b54338c7d40
BLAKE2b-256 3f375a8f18d7ecf82306c924779479792f2dda8434fbb07b4ec770f85ac57130

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