Skip to main content

Generating flowchart for PyPPL

Project description

pyppl_flowchart

Pypi Github PyPPL PythonVers Travis building Codacy Codacy coverage

Flowchart generator for PyPPL.

Installation

pip install pyppl_flowchart

Usage

Generating flowchart for your pipeline

# process definition

PyPPL().start(...).flowchart(fcfile = '/path/to/your/flowchart.svg').run()

Hiding some processes from flowchart

# Turn
# p1 -> p2 -> p3 -> p4 -> p5
p3.config.flowchart_hide = True
# into:
# p1 -> p2 -> p4 -> p5

Theming

In your configuration:

[default.flowchart]
theme = "dark"

# other configuration

We have two builtin themes: default and dark:

default

dark

You can also default your own theme in the configuration:

[default.flowchart.theme]
base = {
    shape = "box",
    style = "rounded,filled",
    fillcolor = "#ffffff",
    color = "#000000",
    fontcolor = "#000000"
}
start = { style = "filled", color = "#259229" }
end = { style = "filled", color = "#d63125" }
procset = { style = "filled", color: "#eeeeee" }
edge = {}
edge_hidden = { style = "dashed" } # for links with hidden processes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyppl-flowchart, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size pyppl_flowchart-0.1.5-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyppl_flowchart-0.1.5.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page