An open API service indexing awesome lists of open source software.

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

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.