Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Uses Azure storage queue/table for a simple worker

Project description

Base project for the paw package. Very much a work in progress.

To create tasks:


from paw import task

@task(description='Stupid simple example')
def task_one(print_me):
    return True

To start a worker:


from paw import MainPawWorker
import tasks  # importing tasks from in local project

workers = MainPawWorker(
    azure_storage_name='storage account name',
    azure_storage_private_key='storage account private key',
    azure_queue_name='name of the queue',
    azure_table_name='name of the table',

if __name__ == '__main__':

To queue a task:


from paw import queue_task

    account_name='storage account name',
    account_key='storage account private key',
    queue_name='name of the queue',
    args=['List', 'of', 'arguments'],
    kwargs={'Key_word': 'arguments'}

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mamba-paw, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size mamba_paw-0.3.1-py3-none-any.whl (9.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mamba-paw-0.3.1.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page