Skip to main content
https://github.com/pygraphviz/pygraphviz/workflows/test/badge.svg?branch=main https://codecov.io/gh/pygraphviz/pygraphviz/branch/main/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.txt for details.

License

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

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

Release files for pygraphviz 1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygraphviz 1.10
File Size Uploaded
pygraphviz-1.10.zip 120.6 kB Details

Release files / pygraphviz-1.10.zip

Download URL pygraphviz-1.10.zip
Size 120.6 kB
Tags Source
SHA-256 checksum
How to use checksums
457e093a888128903251a266a8cc16b4ba93f3f6334b3ebfed92c7471a74d867
BLAKE2b-256 checksum
How to use checksums
ee7e7366c082f959db7ee18a16fc38dc594158ede65ca789bef87751ed5130c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.9

Release history Release notifications | RSS feed

2.0.2

31 release files

2.0.1

26 release files

2.0

26 release files

1.14

1 release file

1.13

1 release file

1.12

1 release file

1.11

1 release file

This release

1.10 This release

1 release file

1.9

1 release file

1.8

1 release file

1.7

1 release file

1.6

1 release file

1.5

1 release file

1.3.1

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

0.99

4 release files

0.37

2 release files

0.36

2 release files

0.35

2 release files

0.34

2 release files

0.33

0.32

0.22

0.21

0.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page