Origin
This is a fork of the original [sqjobs](https://github.com/igalarzab/sqjobs/)
Installation
Simply use pip to install the last version of sqjobs
pip install --upgrade sqjobs
Getting started
First you have to create jobs. A job is simply a class that inherits from Job.
from sqjobs import Job
class Adder(Job):
default_queue_name = 'queue_name'
def run(self, num1, num2):
return num1 + num2
Then, you can launch the job creating a new broker.
from sqjobs import create_sqs_broker
broker = create_sqs_broker(access_key='ak', secret_key='sk')
broker.add_job(AdderJob, 1, 2, queue_name='other_queue_name')
Documentation
Check out sqjobs’s documentation for further information.
Metadata
Release files for sqjobstf 0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sqjobstf-0.8.tar.gz | 17.5 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sqjobstf-0.8-py2.7.egg | Legacy Egg format | - | - | Details |
| sqjobstf-0.8-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 70.9 kB
Release files / sqjobstf-0.8.tar.gz
| Download URL | sqjobstf-0.8.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f87df4d559c53fcd1feb2b2b1e41329f85b0e1923ad282d7ce75b26a0a20561
|
|
BLAKE2b-256 checksum How to use checksums |
ad73ab7e73bb1ca5e7b1eb95de7ed1010890ec4e92959c64ed92f064663dad7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / sqjobstf-0.8-py2.7.egg
| Download URL | sqjobstf-0.8-py2.7.egg |
|---|---|
| Size | 25.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
1cc090ac1200dbc172b93f4c4f022ad30071307142b94b845886887908d54a3f
|
|
BLAKE2b-256 checksum How to use checksums |
810c107b4b1e26b763f5757379425d05744bd1b9f9595b651d0e14075fe59732
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / sqjobstf-0.8-py2-none-any.whl
| Download URL | sqjobstf-0.8-py2-none-any.whl |
|---|---|
| Size | 28.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
4ed96c2d272396ce73c882e703777788a093376248faf3fef120e800c908e59d
|
|
BLAKE2b-256 checksum How to use checksums |
b54c0cd189147d32644348570131dadbaf29c7a03a7849453ec6ef6b24868db8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |