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.3 (06/06/2013)
bulk post & stable error handling
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
File details
Details for the file restq-0.0.3.tar.gz
.
File metadata
- Download URL: restq-0.0.3.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d4e1be0a3a439a5fbc0ec2fb13aa8692ad9e9b2023753d8b347219dbcab140 |
|
MD5 | 14187041ed5cdc6789b7c65b97bcbeb5 |
|
BLAKE2b-256 | 1ca6274e6744b87ee48a93ab95d674d10ef33038a3140d7abba4cdae019c3f36 |