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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for liteflow.providers.mongo-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08a8e280cc8ba801babb8042acce4c3617ea3f1fde3f9211d21674d9648e8e59 |
|
MD5 | f1047f96b68afa0547adb2efa1085fcf |
|
BLAKE2b-256 | e837848258cc07b2419518da26ff4d9570fbd0a6ed8ee4f94c6add7c1ccc48d6 |
Close
Hashes for liteflow.providers.mongo-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19995c1bfddfc3f0ed9d73e577acef8d476eef4783e55fa14addbc8de0893c47 |
|
MD5 | 23831dc6bf923f466f701726bd0d3169 |
|
BLAKE2b-256 | e087e5bf1ce02a6f1faf00bc9f10961d29af4b26373fc2953b91ac777d7e00a8 |