Skip to content

Latest commit

 

History

History
59 lines (52 loc) · 922 Bytes

README.md

File metadata and controls

59 lines (52 loc) · 922 Bytes

Parade-manage

Parade-manage is module for parade.

Note: You should install parade first.

Install

Install is simple:

> pip install parade-manage

Usage

Tasks dag:

 t1  a   b   c
  \ / \ / \ / 
   d   e   f
    \ / \
     g   h

Note: t1 is table name, other are task name Enter your project first

> cd your_project

Initialize the class

from parade_manage import ParadeManage
	
m = ParadeManage() # or m = ParadeManage(project_path='/your/parade/project/path')

dump and generate yaml file

> m.dump(target_tasks=["e", "f"], flow_name="flow")

flow.yml

deps:
  - e->a,b
  - f->b,c
tasks:
  - a
  - b
  - c
  - e
  - f

show tasks

> m.tree(name="flow", task_names=['d', 'e'])

show tables

m.show()  # or
m.show(task_names=["taskA", "taskB"], keyword="filter word")