Skip to main content

Python interface to Graphviz's Dot

Project description

pydot2

warnning:

UNOFICCIAL repository. Main repository is: https://code.google.com/p/pydot/source/checkout

That fork makes two changes respect to mainstream:

  • It support python-3.x

  • It includes a patch to make pydot be able to work with pyparsing >= 2:

http://stackoverflow.com/questions/15951748/pydot-and-graphviz-error-couldnt-import-dot-parser-loading-of-dot-files-will

PyPI project: https://pypi.python.org/pypi/pydot2

Install with:

$ pip install pydot2

pydot

pydot - Python interface to Graphviz’s Dot language Ero Carrera (c) 2004-2007 ero@dkbza.org

This code is distributed under the MIT license.

Requirements:

pyparsing: pydot requires the pyparsing module in order to be

able to load DOT files.

GraphViz: is needed in order to render the graphs into any of

the plethora of output formats supported.

Installation:

Should suffice with doing:

python setup.py install

Needless to say, no installation is needed just to use the module. A mere:

import pydot

should do it, provided that the directory containing the modules is on Python module search path.

Supported by

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