An open API service indexing awesome lists of open source software.

https://github.com/link89/dflow-galaxy

A collection of workflows that are built with DFlow.
https://github.com/link89/dflow-galaxy

Last synced: 5 months ago
JSON representation

A collection of workflows that are built with DFlow.

Awesome Lists containing this project

README

          

# DFlow Galaxy

[![PyPI version](https://badge.fury.io/py/dflow-galaxy.svg)](https://badge.fury.io/py/dflow-galaxy)
[![Downloads](https://pepy.tech/badge/dflow-galaxy)](https://pepy.tech/project/dflow-galaxy)
[![Docker](https://img.shields.io/docker/v/link89/dflow-galaxy?label=docker&logo=docker)](https://hub.docker.com/repository/docker/link89/dflow-galaxy/general)

Collection of workflows and tools built on top of DFlow and [ai2-kit](https://github.com/chenggroup/ai2-kit).

## Features

### Tools
* DFlowBuilder: A type friendly wrapper for `DFlow` to build workflows in a more intuitive way.

### Workflow
* TESLA: a **T**raining-**E**xploration-**S**creening-**L**abeling workflow developed by **AI4EC**. Get inspired by [DPGEN](https://github.com/deepmodeling/dpgen), [DPGEN2](https://github.com/deepmodeling/dpgen2), powered by [ai2-kit](https://github.com/chenggroup/ai2-kit).

### [Bohrium Apps](https://bohrium.dp.tech/apps)
Bohrium Apps are cloud native apps that can be run on Bohrium Platform.

* CP2K Lightning: Run CP2K without building input files from scratch.
* DynaCat TESLA: An automated workflow to generated DeepMD potential for DynaCat.
* DynaCat MD: Run MD simulations with DeepMD potential for DynaCat.

## Get Started
`dflow-galaxy` requires Python 3.9+ since it depends on `typing.Annotated`.

To use `dflow-galaxy` as a library, you can install it via pip:

```bash
pip install dflow-galaxy
```

For developers, please use `poetry` to bootstrap the development environment:

```bash
poetry install
poetry shell
```

## Bohrium App
The entry of the Bohrium App are in the [launch_app](./launch_app/) directory, and the actual implementation are in the [dflow_galaxy/app](./dflow_galaxy/app/) directory.

### Documents
* [Bohrium App development](https://dptechnology.feishu.cn/docx/JPqgdmN1woxO8jxRtMycqWPQnIg)
* [Publish New Bohrium App](https://dptechnology.feishu.cn/wiki/GS1Wwaa1niOPyJkmqqTcJ0r1nfb)

## Distribution
### PyPI
```bash
poetry publish --build
```
### Docker
```bash
./build-docker.sh
```

## Manuals
* [TESLA Workflow](doc/tesla.md)