Skip to main content

PyGraphviz

https://github.com/pygraphviz/pygraphviz/workflows/test/badge.svg 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-2026 PyGraphviz Developers
Aric Hagberg <aric.hagberg@gmail.gov>
Dan Schult <dschult@colgate.edu>
Manos Renieris

The binary wheels distributed on PyPI bundle the Graphviz libraries and command-line tools, which are licensed separately under the Eclipse Public License v2.0 (see LICENSE.graphviz).

Metadata

Release files for pygraphviz 2.0.4

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 2.0.4
File Size Uploaded
pygraphviz-2.0.4.tar.gz 82.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pygraphviz 2.0.4
File
pygraphviz-2.0.4-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
pygraphviz-2.0.4-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
pygraphviz-2.0.4-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details
pygraphviz-2.0.4-cp310-abi3-macosx_11_0_x86_64.whl CPython 3.10 abi3 macOS 11.0+ x86-64 Details
pygraphviz-2.0.4-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 20.7 MB

Release files / pygraphviz-2.0.4.tar.gz

Download URL pygraphviz-2.0.4.tar.gz
Size 82.0 kB
Tags Source
SHA-256 checksum
How to use checksums
510164db9abc5b7ffd79007ed94638958c0190c8206853b07dda05fa1050b829
BLAKE2b-256 checksum
How to use checksums
f55692b970deefddb2c31f92a9c8c794db89e4d6562a8a11af93269107cf30d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / pygraphviz-2.0.4-cp310-abi3-win_amd64.whl

Download URL pygraphviz-2.0.4-cp310-abi3-win_amd64.whl
Size 7.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
60d066faedb10fc4aa775a6ff9fbf09533320a9f93630491c40d08aa8eaf1b6c
BLAKE2b-256 checksum
How to use checksums
7f32c4480b6110ab3e9f7c6f3c57524438e78033605a31dc80ccdd18b37d22c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / pygraphviz-2.0.4-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL pygraphviz-2.0.4-cp310-abi3-manylinux_2_28_x86_64.whl
Size 5.5 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
bb324ad5012a7a844e190be831260240113a1847cff901c4096bbef812f7e470
BLAKE2b-256 checksum
How to use checksums
148e458b0d7283bd81b21262ac10cc4bea2d069f7111afa6099b532eb03e75df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / pygraphviz-2.0.4-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL pygraphviz-2.0.4-cp310-abi3-manylinux_2_28_aarch64.whl
Size 5.1 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
b699f002b0290196ff3255805855c5561029777c68dfc0451853ae113e8afee2
BLAKE2b-256 checksum
How to use checksums
eef47b4bed465c1cbb88fa6f3175499704b18ec57f98eb7b5905047ea456e4c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / pygraphviz-2.0.4-cp310-abi3-macosx_11_0_x86_64.whl

Download URL pygraphviz-2.0.4-cp310-abi3-macosx_11_0_x86_64.whl
Size 1.6 MB
Tags CPython 3.10 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
613556c622ed6d1527a2959012c80db8e2c50e2988fec5ec257027cc2f7d350a
BLAKE2b-256 checksum
How to use checksums
7500c6c0f783be59820f2896d7c29b0074e8018e78c3802e7ff25dc31abf1457
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / pygraphviz-2.0.4-cp310-abi3-macosx_11_0_arm64.whl

Download URL pygraphviz-2.0.4-cp310-abi3-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6454122030c33b73b10722f335bb1ffce6bbe50e74643739ea92b3b0e860be90
BLAKE2b-256 checksum
How to use checksums
7ba86918aa92e4c5745e95f4ee3dfadf5aa82153c8e9341dfb7a17fcb5c55ea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.4 This release

6 release files

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

1.10

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