Skip to main content

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page