Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.
/ flashflood Public archive

(archived) A workflow assistant for asynchronous data processing and data sharing via HTTP API

License

Notifications You must be signed in to change notification settings

mojaie/flashflood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flashflood

Flashflood is a directed acyclic graph (DAG) workflow-based HTTP API server builder. Input data is processed according to the workflow definition (data processing nodes and dataflow edges) and then the result JSON (and other formats) will be broadcasted via HTTP. This offers instant database access API to users to share their results and analysis regardless of their programming langages and environments.

Example

Workflow samples are available at flashflood-workspace

    from tornado.ioloop import IOLoop

    from flashflood.core.node import FuncNode
    from flashflood.core.workflow import Workflow
    from flashflood.node.reader.iterinput import IterInput


    def twice(x):
        return x * 2


    class TestWorkflow(Workflow):
        def __init__(self):
            super().__init__()
            self.output = Container()
            self.append(IterInput(range(100)))
            self.append(FuncNode(twice))
            self.append(ContainerWriter(output))


    if __name__ == '__main__':
        wf = TestWorkflow()
        task = Task(wf)
        IOLoop.current().run_sync(task.execute)
        print(wf.output.records)

Installation

PyPI

pip3 install flashflood

Anaconda

conda upgrade -n root conda
conda install -n root conda-build

conda skeleton pypi flashflood
conda build flashflood
conda install --use-local flashflood

Building workspace

see flashflood-workspace

Documentation

https://flashflood-docs.readthedocs.io/

License

MIT license

Copyright

(C) 2014-2018 Seiji Matsuoka

About

(archived) A workflow assistant for asynchronous data processing and data sharing via HTTP API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages