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

Azure queue and distributed lock providers for LiteFlow

Project description

Azure synchronization providers for LiteFlow

Provides support to use Azure storage as a shared work queue and distributed lock service for LiteFlow

Installing

Install the "liteflow.providers.azure" package

> pip install liteflow.providers.azure

Usage

Pass an instances of AzureQueueProvider and AzureLockProvider to configure_workflow_host when configuring your workflow node host.

from azure.storage.common import CloudStorageAccount
from liteflow.core import *
from liteflow.providers.azure import AzureQueueProvider, AzureLockProvider


azure_storage_account = CloudStorageAccount(account_name='my account', account_key='my key')
azure_queue_service = AzureQueueProvider(azure_storage_account)
azure_lock_service = AzureLockProvider(azure_storage_account)

host = configure_workflow_host(queue_service=azure_queue_service,
                               lock_service=azure_lock_service)
host.start()

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 liteflow.providers.azure, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size liteflow.providers.azure-0.3.1-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size liteflow.providers.azure-0.3.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page