Skip to main content

MongoDB persistence provider for LiteFlow

Project description

MongoDB Persistence provider for LiteFlow

Provides support to persist workflows running on LiteFlow to a MongoDB database.

Installing

Install the "liteflow.providers.mongo" package

> pip install liteflow.providers.mongo

Usage

Pass an instance of MongoPersistenceProvider to configure_workflow_host when configuring your workflow node host.

from liteflow.core import *
from liteflow.providers.mongo import MongoPersistenceProvider

mongodb = MongoPersistenceProvider('mongodb://localhost:27017/', 'liteflow')

host = configure_workflow_host(persistence_service=mongodb)
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.

Source Distribution

liteflow.providers.mongo-0.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

liteflow.providers.mongo-0.2-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page