Skip to main content

Python interface to Graphviz

Project description

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-2026 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-2.0rc2.tar.gz (75.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pygraphviz-2.0rc2-cp314-cp314-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.14Windows x86-64

pygraphviz-2.0rc2-cp314-cp314-manylinux_2_28_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

pygraphviz-2.0rc2-cp314-cp314-manylinux_2_28_aarch64.whl (5.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

pygraphviz-2.0rc2-cp314-cp314-macosx_11_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.14macOS 11.0+ x86-64

pygraphviz-2.0rc2-cp314-cp314-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pygraphviz-2.0rc2-cp313-cp313-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.13Windows x86-64

pygraphviz-2.0rc2-cp313-cp313-manylinux_2_28_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pygraphviz-2.0rc2-cp313-cp313-manylinux_2_28_aarch64.whl (5.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

pygraphviz-2.0rc2-cp313-cp313-macosx_11_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

pygraphviz-2.0rc2-cp313-cp313-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pygraphviz-2.0rc2-cp312-cp312-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.12Windows x86-64

pygraphviz-2.0rc2-cp312-cp312-manylinux_2_28_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pygraphviz-2.0rc2-cp312-cp312-manylinux_2_28_aarch64.whl (5.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

pygraphviz-2.0rc2-cp312-cp312-macosx_11_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

pygraphviz-2.0rc2-cp312-cp312-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pygraphviz-2.0rc2-cp311-cp311-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.11Windows x86-64

pygraphviz-2.0rc2-cp311-cp311-manylinux_2_28_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pygraphviz-2.0rc2-cp311-cp311-manylinux_2_28_aarch64.whl (5.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

pygraphviz-2.0rc2-cp311-cp311-macosx_11_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pygraphviz-2.0rc2-cp311-cp311-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file pygraphviz-2.0rc2.tar.gz.

File metadata

  • Download URL: pygraphviz-2.0rc2.tar.gz
  • Upload date:
  • Size: 75.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pygraphviz-2.0rc2.tar.gz
Algorithm Hash digest
SHA256 862db74dd2f7844f9139c904fc93693e281a13ac4c2930275bd7828869bcd057
MD5 0a322cf16f9b1b34b3be6ae973cfc842
BLAKE2b-256 63130315ef074b2d56a77d8e7d355336d325e21ca5ff76b8364448d39c27566d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2.tar.gz:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 8b7a9952f2f8e0fbe9e1466d524704999db01a04c0fb1c33fdea411235ee0c7b
MD5 9f1cef86d2e38b82c1c3864bb8ca45cd
BLAKE2b-256 0930bdfe5a1338d85c1fa649847083c1881229a244f4519322afd309b8127766

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp314-cp314-win_amd64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dbe08571537ecbd22aa00c31b4db8fd0cfb13e0977bdfb8f5f2ac676b85d838b
MD5 d39aa95766d4c183efb4a8f96b59e38e
BLAKE2b-256 4fd3a8acd5235c27d3910f8171669d43c3f423b9a84bb29fc3f2f47f3cc9679e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp314-cp314-manylinux_2_28_x86_64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0d316f22063b32bb719d603de56e0d3f33adee5dc1c59d3d85f2948fcef7d2bf
MD5 57ebc480f542672eec1f245694b2f550
BLAKE2b-256 29518361419953c2bbd59b5b58320afb7076807b6e62f5aab6a11ffac06dfd30

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp314-cp314-manylinux_2_28_aarch64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp314-cp314-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp314-cp314-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 105ae8d027b1a5f17780c317f78c97fc807bad243e5780a06c42d1df45781065
MD5 1c8b84004fdbf1a66811d1bec6028847
BLAKE2b-256 88dd2fe19e9945bd3d3324c3f918e4d4af0b0b554f159f4f255e66fdc5d98753

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp314-cp314-macosx_11_0_x86_64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 303f6ef3c4675963a4409018482c77bc8947e3c9e037ab68c845ae2352e98908
MD5 529ef2777b0ff4b664dd8d60363a08f5
BLAKE2b-256 ff92d942938af601a5f2d89c976d6a1b7331eb2988842752e290505961b5c860

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3282d3bc67e7b9eefa6df7b6161e3424b198e819c589af6c59a3241ba7cdddec
MD5 545388a11b467e17dab99d947ac36df6
BLAKE2b-256 843da13f44e813b0743e735f4f7830fb4a6d8e5912fdf2c80cc87839c463fd59

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp313-cp313-win_amd64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 656147b53fd22f2b99eca9ec9e6c02ff540e4734a53721d013538dbf449b6d86
MD5 c4a34f2a4188c99d82b3417545b00012
BLAKE2b-256 d59819e442e9321f904cb42c4370a35cb8a42d68c8950d6c61d5b2ac46e0be64

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6d1e89fd2836ddc0f8ccfa586388d9a469edc1c6bd66a883b2059045b6e80465
MD5 0b6f10d8288d3cd9e7cbe6bf092fb4df
BLAKE2b-256 b007b7fcff4e1d4391e38891bcea30fb7427c7856d62b7a7830ba12ae4303769

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp313-cp313-manylinux_2_28_aarch64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 d22636525baa1c25c2c43dcd5dcefe57281c394713a07e04029beb921a048665
MD5 3ac86f126a70424bfef14675772d9119
BLAKE2b-256 25bd0a3489f92e74e586770337074898db9b5c31ccea6b65d8e8a26b5faf2e34

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp313-cp313-macosx_11_0_x86_64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1691a76dddde5c717d4dab081e12bd929445dbecaf3bf0b45924a7c8fbee3ccc
MD5 0229d9115a35202abad6ae2e83c8ef89
BLAKE2b-256 d394c1845a25fb74e98fcbc8f9f0c9883da3027e699026f81e8de89f0c057129

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7084641b079f2f6aad7cc4676709b2e85ba7d1644f6067c461fe255498c08d22
MD5 6a77f686f3de7364f4a6df0007342ff8
BLAKE2b-256 90c149d8e21b01b93a7ef5d5700c5cbe7bcff46d94044100404c0b817fcc55d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp312-cp312-win_amd64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 82c9d859cf77ce86fa083ce3787cf90cd101affd705bf974d8a812b90e1b06b9
MD5 ef5e83f0aa007b20d7544e03ddb54fac
BLAKE2b-256 5797505876dcc9db7cb279097fdb731001499d056d7dc64f5a40f7a1e4ace107

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d69fa38b6e9a10408cc1be5da2d7e31a4a93817d65753bad48e76e230e5a0663
MD5 adb70532d556d653480a3d8c2fbe7689
BLAKE2b-256 b2eeb4798a5ab794d4dd483cb038076a89db12593f9c42043631dbe2e7f984ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp312-cp312-manylinux_2_28_aarch64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 4da19a3a2e60485834c06f02ae563fb391d6e8c9d76805ee857ebe1f46d15ab0
MD5 2db669c6d67169347b3b0c48c34c0e14
BLAKE2b-256 a6a989d2de7912deba910a4925dd08f584a6d8ee330a039d473bcd3f2183b202

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp312-cp312-macosx_11_0_x86_64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e79d493e4acf9425ead6fcd74268c0115de3d6386e5193de3e9acc5102c4566d
MD5 b52e116aeda553609f6133ebaa84969d
BLAKE2b-256 8c6e134242434cf4c5aa49e7ee5af6acde025f5b709126564934af3a067807c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e79a9b0a2558e82d9d1812f9246ee2af9f1dde9455a96d98e0b43245a32e453a
MD5 9d8780bbcbcdf7360f3f65e79a0899b9
BLAKE2b-256 c5d7ab75edde18832df1c2f0d3315ac32cdd4a5d3e45fc125ce8aeb93d608a85

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp311-cp311-win_amd64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1af6302ceea0de3877c1ee59d336d876df1173b84a5ff012ebf7b6f057cc9f82
MD5 75b20dbcb8d89a89f7065d3c11870630
BLAKE2b-256 acfbc10b57a188f313c8d881b7b02b0f6eae3f50a62a33079b7b4a34aec588ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8b7e7f4e89e4113d11fdbdb7b87d24357d739120233cbabf9de33881b2c28dff
MD5 44425b821caf4e753d9f1e4a10424789
BLAKE2b-256 1ef79c46c1de3eaa76af92d58cd770264d51cd787c8606aa6084b8ae493f8854

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp311-cp311-manylinux_2_28_aarch64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 a9c1791eae4ed4413691a225597cc207ec49e40c5e24f0a7ed0170a509543b0c
MD5 8c8a829c642c1e22736bba501f28beb0
BLAKE2b-256 69e870c1b701f51c2199d1c5d00364be3b8d8a1cc55d8123a5ccdcde5079955c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp311-cp311-macosx_11_0_x86_64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygraphviz-2.0rc2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f88472ff0ea5fe44589315065450ad6ba1660ab262de365aceb9f4f4d82c0ad2
MD5 c7a584c420c6b5c68296bef322fce4f3
BLAKE2b-256 3169a66beabd8ebf951d3cd6a98f975dec09458b310a25f9ce271ccb540452ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc2-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on pygraphviz/pygraphviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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