https://github.com/guilt/squeue
A Job Queue implementation using SQLite
https://github.com/guilt/squeue
Last synced: 2 months ago
JSON representation
A Job Queue implementation using SQLite
- Host: GitHub
- URL: https://github.com/guilt/squeue
- Owner: guilt
- License: bsd-3-clause
- Created: 2014-03-13T09:11:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-04-30T23:02:55.000Z (about 5 years ago)
- Last Synced: 2025-02-24T10:13:51.256Z (over 1 year ago)
- Language: Python
- Homepage: https://pypi.org/project/squeue/
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
******************************
squeue: A simple SQLite Queue
******************************
squeue is used to create simple queues that can be persisted,
then retrieved for work. It's very easy to create a mini workflow
engine with this.
=============
Main Features
=============
* Very compact
* Few Dependencies
=====
Usage
=====
One can create a new queuable function (or unit of work) by using the
@queue_function decorator.
.. code-block:: python
@queue_function
def hello(world):
return "Hello, {}!".format(world)
hello.delay("World")
It will get invoked when a worker process fetches a function
to execute. Do check the provided test.py with this distribution.