Skip to main content

Create a disk-based queue

Project description

Installation

pip install . or pip install simple-disk-queue

By default, a folder called .cache/simple_disk_queue is created under your home directory, and will be used to store queues. If you want to change it, see "Global Settings" below.

Quick Start

An example can be found in examples/test.py. We can first call init_queue() to initialize the jobs, and then run sdq.DiskQueue.run('test') in different processes.

0.0.3

==================

  1. bug fix

0.0.2

==================

  1. Use reference so we minimize the critical time
  2. Added documentation and verbose mode

0.0.1

==================

  1. Core functionality: Add jobs to a queue and run jobs from a queue.

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

simple_disk_queue-0.0.3.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

simple_disk_queue-0.0.3-py3-none-any.whl (5.6 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