Skip to main content

Simple Queue Jobs TF Fork

Project description

Build Status Coverage Status

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.

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

sqjobs-tf-0.8.10.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqjobs_tf-0.8.10-py2-none-any.whl (27.6 kB view details)

Uploaded Python 2

File details

Details for the file sqjobs-tf-0.8.10.tar.gz.

File metadata

  • Download URL: sqjobs-tf-0.8.10.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/2.7.17

File hashes

Hashes for sqjobs-tf-0.8.10.tar.gz
Algorithm Hash digest
SHA256 4ef77c517a46fae2525a938942d27ecb378c6ccfc65815fbf789e54b7ed728a3
MD5 3d85f662ef775e418bfda92f2c8e29c8
BLAKE2b-256 ee212e9229df593d7a9cb82b790fab2330df6fc7bb0e83666ed1500a7c2636c3

See more details on using hashes here.

File details

Details for the file sqjobs_tf-0.8.10-py2-none-any.whl.

File metadata

  • Download URL: sqjobs_tf-0.8.10-py2-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/2.7.17

File hashes

Hashes for sqjobs_tf-0.8.10-py2-none-any.whl
Algorithm Hash digest
SHA256 44d0bd129a3eb0052f6a7119ae4387fd780be75117afd6a39579ad99d1857367
MD5 909e1c1760a8a1d713e843d555e179c7
BLAKE2b-256 aad8a3d49e4170a020d680b4823a5d7437befb3c0e695acca1a68894008b6988

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page