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
==================
- bug fix
0.0.2
==================
- Use reference so we minimize the critical time
- Added documentation and verbose mode
0.0.1
==================
- Core functionality: Add jobs to a queue and run jobs from a queue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1730c37ffcf165cfc8c6772a849e85601ab752a4cbaa5a4bb18b10c7e335c51 |
|
MD5 | 90302695da8a4732a179319a4a3b65f2 |
|
BLAKE2b-256 | ed57b19ac24954a7c75f24449ec239642d55e070f50c40ef228d839841f02edd |
File details
Details for the file simple_disk_queue-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: simple_disk_queue-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf9d2bf19651e92fd497f34991110a21a60c426c5a96c5888f6124fd62a296a9 |
|
MD5 | 0e866ef819f82b34d52fac1898375e8e |
|
BLAKE2b-256 | 2097ac80aca4e4fc21fc7a59103bcaa2e6022511fdae50064cf659f241e8ab30 |