Skip to main content

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 sqjobstf

pip install --upgrade sqjobstf

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.

Releasing a new version

See https://packaging.python.org/tutorials/packaging-projects/

In a virtualenv, run pip install ` pip install -r requirements/base.txt pip install twine `

Create a new build: ` python -m build `

Publish the new release - you will need the credentials for accessing pypi.org ` twine upload dist/* `

Metadata

Release files for sqjobstf 0.8.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqjobstf 0.8.7
File Size Uploaded Provenance
sqjobstf-0.8.7.tar.gz 17.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sqjobstf 0.8.7
File Interpreter ABI Platform
sqjobstf-0.8.7-py2-none-any.whl Python 2 none any Details

Total release size: 45.0 kB

Release files / sqjobstf-0.8.7.tar.gz

Download URL sqjobstf-0.8.7.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3765dbc5ad15adc8fd423fc44542f6febaabe1b4bf35e0cf18578b36c2b8d1ec
BLAKE2b-256 checksum
How to use checksums
1b36e32b37f98715ebdf2294fee5f795abede5219bb1566438fc3d0ce6914804
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.9

Release files / sqjobstf-0.8.7-py2-none-any.whl

Download URL sqjobstf-0.8.7-py2-none-any.whl
Size 27.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
7e63ad7000b50f7e3986c36e625629a6d6d35861a7ca8581897b06fc5b7eb91a
BLAKE2b-256 checksum
How to use checksums
d9ca2edc8851815ba0dc1b9b55040a1dd822145287b21a65a7bb36ceec380c7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.9

Security for sqjobstf 0.8.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page