Skip to main content

Wrapper for queue based producer/consumers parallel tasks execution

Project description

Python 3.7 Code style: black Documentation Status

multiconsumers-queue-cli

Wrapper for queue based producer/consumers parallel tasks execution

Futures:

  • graceful shutdown by ^C
  • producer/consumer errors handling out of the box
  • scheduled tasks statistics logging

Examples:

  • with ThreadPoolExecutor for I/O bound tasks
    Usage: cli-threads.py [OPTIONS]
    
      Demo script with ThreadPoolExecutor
    
    Options:
      --workers INTEGER     How many workers will be started  [default: 5]
      --limit INTEGER       How many items can be produced  [default: 50]
      --logging-level TEXT  Logging level  [default: INFO]
      --help                Show this message and exit.
    

References:

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

multiconsumers-queue-0.1.4.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

multiconsumers_queue-0.1.4-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

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