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.0rc3.tar.gz (77.8 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.0rc3-cp314-cp314-win_amd64.whl (7.1 MB view details)

Uploaded CPython 3.14Windows x86-64

pygraphviz-2.0rc3-cp314-cp314-manylinux_2_28_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

pygraphviz-2.0rc3-cp314-cp314-macosx_11_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ x86-64

pygraphviz-2.0rc3-cp314-cp314-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pygraphviz-2.0rc3-cp313-cp313-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.13Windows x86-64

pygraphviz-2.0rc3-cp313-cp313-manylinux_2_28_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

pygraphviz-2.0rc3-cp313-cp313-macosx_11_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

pygraphviz-2.0rc3-cp313-cp313-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pygraphviz-2.0rc3-cp312-cp312-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.12Windows x86-64

pygraphviz-2.0rc3-cp312-cp312-manylinux_2_28_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

pygraphviz-2.0rc3-cp312-cp312-macosx_11_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

pygraphviz-2.0rc3-cp312-cp312-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pygraphviz-2.0rc3-cp311-cp311-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.11Windows x86-64

pygraphviz-2.0rc3-cp311-cp311-manylinux_2_28_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

pygraphviz-2.0rc3-cp311-cp311-macosx_11_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pygraphviz-2.0rc3-cp311-cp311-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pygraphviz-2.0rc3.tar.gz
Algorithm Hash digest
SHA256 be85bb48763a5e991d4fecf7ef5e310e2b1f9f462829ee92b96905708805d6bb
MD5 0f784378d13fe8b114e0900239222386
BLAKE2b-256 ff2643d4ee9138097297eadd6c128af60c0e43ed8348aac45059e0fe1471c113

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3.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.0rc3-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 75b88b3974446da14f23e899139909fdffc58350ff35624848ca6352aa90b3f5
MD5 eb8dc18031f054843e61e2d51c701152
BLAKE2b-256 eb4c78bafabed82ef33719b85f455944d0c9cb7ffd9e4286c1fc7e6bd8096b9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d8b136a2499e0823c8618ff72b86d1a3c14bd679fd960191af1daf370f3a5c83
MD5 e7d2e8b6f8d26cad920c22f1ddafa6df
BLAKE2b-256 bbe8a805b908cb4d363c2b6802486447cd58305bac94b5edd64223fafd557e33

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0467e632b21ff06bedc8d33f877542184174946c931fe33cb0bfc47514b18aa9
MD5 a234f457f4c4e923a5560b55ac300982
BLAKE2b-256 e28f4298ae086ab53c0fdf52d45e5a0a7ceabbf806eb1b5efd21d76fa73b48d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp314-cp314-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp314-cp314-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 d51c0a810f23ed5ee2cd56e67e0d99e78152b7b1c75b48f19688f5a8905b7d34
MD5 54adc5383652e10f3e4d260230e0ee2f
BLAKE2b-256 63ba24629efccf68307fbfdcd99526c8d853062ffe21d91342c716fba377d85c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9798d6e7c7d8778976618fd8810b222907fdc7c3e8a852ec4eebb92f68ee5cef
MD5 da1d41aac4821d95241690b099685d97
BLAKE2b-256 2e62d4b3c7f24c99ab49d486b78f5f4feefbbdfb0343a7fcb3039b14fb9875ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 225c694bd180562c500e85dfc575fb10b39918bd4da8cb28bde5e0ba01b7a135
MD5 8b8d4c1fc2a9bdb45e57b8e517e17f6b
BLAKE2b-256 c24fb4df4bc8ca9c59b6294000116284491639a750831cd8b0f761c1a3064ed9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 135ca491d7cbd48700df3802c7b0867cc73adf09cf8ba4a4487493d37a5e80c9
MD5 bc080bf02873de562cb4b2d6ba0642bc
BLAKE2b-256 eb8de6b5b8480a213a4246f328abad4a59a947df33ddf62a527ac7890fda7090

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 88d495fb9dc32260f1482d1770931b4def19be882001dc4a6801aee1b79c3717
MD5 f8e291979644ea6231387cd33a9ece6d
BLAKE2b-256 2548fdc7aec163fa6dd7f296a9eb8d257997232988a36564e270e38c55e02272

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 6abe19f241c44d9ff4a79d9b1df583758110ff1ab662e0fb7e41a449c1d01290
MD5 3e737d910666e19b98db11527d537b9e
BLAKE2b-256 e8081d3e3c37019ba5be9e046a9afd28b3ca0b34826ee02671320512e28c350d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef9ff0c8885668f706349bfd2b2b6ef3482b38b6cbb263fa42533a420a62ba6c
MD5 594c48bedec12820efe20d7509433818
BLAKE2b-256 22d0854909f5dcc4d3059347839364640fffde2dbc4abdeecad9ea877467e1f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a00e810303564a5e48fcc6404bf59ac00b967f6932d91c41082fe108e731c244
MD5 794805a96f4bd223daf702517aaa07bf
BLAKE2b-256 7d7921a4d8d49096d2eb53ec6f15787ed5d43dae8a539905afdcdaf1364f1f8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 34022668d54d94f0095ef40cf14f142218d5cc14a5731cc79592ef778748b736
MD5 2df1eedee81abb6defcecea19fb42de5
BLAKE2b-256 1243177fcb2c7f41748446c1b63953dcee5365830665584bddcf289c7614f71b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 721d7e0357baa4e3136e3d75d9017a395cbbc38788dad49c5794181064b95aef
MD5 3412e0ab4824e90e344564c615b6018b
BLAKE2b-256 6aa7b1fa85f2c621824a59cf6d8db91b20c2b8f8006d6904747280ca195db391

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0178a9cc15d60dd672f0bda31ecc4a0ba18b60e3d305e0e2d5c5e8bf80fe6f5c
MD5 1177ad65e83c1c495d817e185a4e17f2
BLAKE2b-256 72b4e83b60799800985128720c160761936fd153d424cd73f238d967034b7053

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0b05c43adce88ed81af5fb48cc52f6092a680c486db5de887d49540fea3d9433
MD5 11e08f4375f09c95a8ace1be555a508d
BLAKE2b-256 97da67c2e47cff6fe9948646f45adf64ee7fa7a83236e1b6a98e8d3f8fa20e6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d3b64d4bf6608a159350d5c8d37a1121147bd5581c35406042c7216128563075
MD5 cdeec921a90be5c974538e3eeed8f6a5
BLAKE2b-256 a52e5bf85356da17f1f8856c975a242c47a3ff3eed49e34a6f4644d205c0311d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b9565097e252a13b9a67b7a837fe68d13671c836f35273e481a85d6a6ac5e82
MD5 3c2ff08abddacd8419eca5c8a8d86779
BLAKE2b-256 a23e0d0a6d6880d205372d0576cec7a6508146ef27d5f69ad7a3939ef444ae86

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5c88d0ea9f08bd0c51640fc9fdae54206737482b11d4f9ced951cb0db07bd836
MD5 5c941ac9097f28b1a56f60bea0d91882
BLAKE2b-256 4e0464430f77ebd8b2d053970e44da290ae9b93585ebfbe08e289ef89d9cb3f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 be9d04fe08616bf8e3972e2ea990b53f30d57daf49ad95079f7088b060f358b2
MD5 d1b57ce121b104bd880e4b4958cd1ccc
BLAKE2b-256 2a6de4574c29c9987865b84bc499edea899e64c86f037ae59fb5268fbe6ad6d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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.0rc3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygraphviz-2.0rc3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64847f71f239a1b1bc35a8b45698bfe69f39c9b761288c3f89c5179fa2d33232
MD5 eb2d13f2953ec2f5d962be0b5c542404
BLAKE2b-256 e2daebba210f5c474cb70e3132326fb344446ebba4071be8578ff944b2b69a8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygraphviz-2.0rc3-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