HTTP API server builder for chemical database workflow
Project description
Flashflood
================
Flashflood is a HTTP API server builder for chemical data analysis. Flashflood includes DAG workflow assistance for parallel processing of chemical structure, chemical properties, biochemical activity data. This enables to build web server which can be accessed by web application, Jupyter notebook and any other analysis platform via HTTP.
Example
================
Workflow samples are available at [flashflood-workspace-sample](https://github.com/mojaie/flashflood-workspace-sample)
```py
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-sample](https://github.com/mojaie/flashflood-workspace-sample)
Documentation
-------------------
https://mojaie.github.io/flashflood
License
--------------
[MIT license](http://opensource.org/licenses/MIT)
Copyright
--------------
(C) 2014-2018 Seiji Matsuoka
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
Flashflood-0.12.0.tar.gz
(24.0 kB
view details)
Built Distribution
File details
Details for the file Flashflood-0.12.0.tar.gz
.
File metadata
- Download URL: Flashflood-0.12.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed94ec1287e99c98ca4b4f27584eb2eaef476ab677efbeb6873182ad8df57838 |
|
MD5 | c8f41f3272c74e0e3136c68dbd84c132 |
|
BLAKE2b-256 | 98f603d0442f96b229d8aff951e1e0b74daf0cdcf1e0a0e37218d8b32de76b88 |
File details
Details for the file Flashflood-0.12.0-py3-none-any.whl
.
File metadata
- Download URL: Flashflood-0.12.0-py3-none-any.whl
- Upload date:
- Size: 46.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d7e2b90386fbc1af6c16b53ae54bbbfd73a9c4c4393b321711bde1c42355af2 |
|
MD5 | 47b436d30d7f5579a9048f58ecc32907 |
|
BLAKE2b-256 | 4bbe1a11693396ac0a3377a98d7897e402d98dcb20eedf7d754f004ebf218b03 |