A manage module of parade
Project description
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")
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
parade-manage-0.0.2.8.tar.gz
(9.9 kB
view hashes)
Built Distribution
Close
Hashes for parade_manage-0.0.2.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42e0e4396ba2bcf13507cccf18c16cf673193dfa3116bcac33e7cf45d27b4fe1 |
|
MD5 | 5210afc5df76085c289c8583749f5185 |
|
BLAKE2b-256 | fe1af351bde5b88854e3338461ff681706783b99caff1657ec3ce9de48e62f36 |