Skip to main content

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


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)

Uploaded Source

Built Distribution

parade_manage-0.0.2.8-py2.py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page