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 details)

Uploaded Source

Built Distribution

simple_disk_queue-0.0.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file simple_disk_queue-0.0.3.tar.gz.

File metadata

  • Download URL: simple_disk_queue-0.0.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.8

File hashes

Hashes for simple_disk_queue-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e1730c37ffcf165cfc8c6772a849e85601ab752a4cbaa5a4bb18b10c7e335c51
MD5 90302695da8a4732a179319a4a3b65f2
BLAKE2b-256 ed57b19ac24954a7c75f24449ec239642d55e070f50c40ef228d839841f02edd

See more details on using hashes here.

File details

Details for the file simple_disk_queue-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_disk_queue-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bf9d2bf19651e92fd497f34991110a21a60c426c5a96c5888f6124fd62a296a9
MD5 0e866ef819f82b34d52fac1898375e8e
BLAKE2b-256 2097ac80aca4e4fc21fc7a59103bcaa2e6022511fdae50064cf659f241e8ab30

See more details on using hashes here.

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