Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sqjobstf

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqjobstf

Simple Queue Jobs TF Fork

  • 0.8.7
  • PyPI
  • Socket score

Maintainers
1

sqjobs

|Build Status| |Coverage Status|

Origin

This is a fork of the original 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.

.. code:: python

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.

.. code:: python

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.

.. _sqjobs's documentation: https://sqjobs.readthedocs.org

.. |Build Status| image:: https://travis-ci.org/igalarzab/sqjobs.svg?branch=master :target: https://secure.travis-ci.org/igalarzab/sqjobs .. |Coverage Status| image:: https://coveralls.io/repos/igalarzab/sqjobs/badge.png?branch=master :target: https://coveralls.io/r/igalarzab/sqjobs?branch=master

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/*

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc