Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

https://github.com/pygraphviz/pygraphviz/workflows/test/badge.svg?branch=master https://codecov.io/gh/pygraphviz/pygraphviz/branch/master/graph/badge.svg

PyGraphviz is a Python interface to the Graphviz graph layout and visualization package. With PyGraphviz you can create, edit, read, write, and draw graphs using Python to access the Graphviz graph data structure and layout algorithms. PyGraphviz provides a similar programming interface to NetworkX (https://networkx.org).

Simple example

>>> import pygraphviz as pgv
>>> G = pgv.AGraph()
>>> G.add_node("a")
>>> G.add_edge("b", "c")
>>> print(G)
strict graph "" {
        a;
        b -- c;
}

Install

PyGraphviz requires Graphviz. Please see INSTALL.rst for details.

License

Released under the 3-Clause BSD license (see LICENSE):

Copyright (C) 2006-2021 PyGraphviz Developers
Aric Hagberg <aric.hagberg@gmail.gov>
Dan Schult <dschult@colgate.edu>
Manos Renieris

Download files

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

Source Distribution

pygraphviz-1.7rc2.zip (117.6 kB view details)

Uploaded Source

File details

Details for the file pygraphviz-1.7rc2.zip.

File metadata

  • Download URL: pygraphviz-1.7rc2.zip
  • Upload date:
  • Size: 117.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

File hashes

Hashes for pygraphviz-1.7rc2.zip
Algorithm Hash digest
SHA256 bb3046ac1be789d874d9b0e170d3ba628d96e264b5a99163b6682fa33f263eab
MD5 ed5b531ea1938f6cad601550a3fc5162
BLAKE2b-256 2d8332f73f8bb5a4e7995679e769271eb3ca55f5f9e143e024393341a4176859

See more details on using hashes here.

Supported by

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