All-in-memory job queue with RESTful interface.
Project description
What is restq:
A priority queuing job checkout and completion service.
Controlled and accessed through a bottle RESTful web application.
For additional tips / tricks with this restq feel free to post a question at the github restq/issues page.
Project hosting provided by github.com.
[mjdorma+restq@gmail.com] and [sptonkin@outlook.com]
Install and run
Simply run the following:
> python setup.py install > python setup.py test > python -m restq -h
or PyPi:
> pip install restq > python -m restq -h
Example:
> nohup restq-webapp & > ipython # import the client from restq import Realms # connect to our local restq-webapp realms = Realms() # add some jobs realms.test.add('job 1', 0, 'do the dishes', tags=['house work']) realms.test.add('job 2', 0, 'cut the grass', tags=['house work']) realms.test.add('job 3', 1, 'fix bugs in restq', tags=['devel']) realms.test.add('job 4', 3, 'document restq', tags=['devel']) realms.test.add('job 5', 0, 'go for walk', tags=['sport']) realms.test.add('job 6', 0, 'go for walk with dog', tags=['sport']) realms.test.add('job 7', 2, 'go for bike ride', tags=['sport']) jobs = realms.test.pull(count=7) print(jobs)
Issues
Source code for restq is hosted on GitHub. Please file bug reports with GitHub’s issues system.
Change log
version 0.0.1 (10/04/2013)
pre life
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
restq-0.0.2.tar.gz
(16.0 kB
view details)
File details
Details for the file restq-0.0.2.tar.gz
.
File metadata
- Download URL: restq-0.0.2.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a17dde0be4ece3293efa8ed54ae61708b279d31bd785e2e70efec02db4ce66e4 |
|
MD5 | 8f37831df7dc008ae9f52b9732449fd3 |
|
BLAKE2b-256 | 9051e48ec0977c5ad0d039f9d987483de3c927d18cecf6d875739e427e8b330a |