pygraphviz

Python interface to Graphviz graph drawing package

https://github.com/pygraphviz/pygraphviz

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    4 of 51 committers (7.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.0%) to scientific vocabulary

Keywords

complex-networks graph-visualization python spec-0

Keywords from Contributors

closember graph-algorithms graph-analysis graph-generation graph-theory qt tk wx bioinformatics gtk
Last synced: 6 months ago · JSON representation

Repository

Python interface to Graphviz graph drawing package

Basic Info
Statistics
  • Stars: 736
  • Watchers: 36
  • Forks: 203
  • Open Issues: 62
  • Releases: 14
Topics
complex-networks graph-visualization python spec-0
Created over 12 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Contributing License

README.rst

PyGraphviz
==========

.. image:: https://github.com/pygraphviz/pygraphviz/workflows/test/badge.svg?branch=main
  :target: https://github.com/pygraphviz/pygraphviz/actions?query=workflow%3Atest+branch%3Amain

.. image:: https://codecov.io/gh/pygraphviz/pygraphviz/branch/main/graph/badge.svg
   :target: https://app.codecov.io/gh/pygraphviz/pygraphviz/branch/main


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).

- **Website (including documentation):** https://pygraphviz.github.io
- **Mailing list:** https://groups.google.com/forum/#!forum/pygraphviz-discuss
- **Source:** https://github.com/pygraphviz/pygraphviz
- **Bug reports:** https://github.com/pygraphviz/pygraphviz/issues

Simple example
--------------

.. code:: pycon

    >>> 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-2024 PyGraphviz Developers
  Aric Hagberg 
  Dan Schult 
  Manos Renieris

Owner

  • Name: PyGraphviz
  • Login: pygraphviz
  • Kind: organization

GitHub Events

Total
  • Issues event: 16
  • Watch event: 54
  • Issue comment event: 50
  • Push event: 8
  • Pull request review comment event: 3
  • Pull request event: 18
  • Pull request review event: 10
  • Fork event: 10
  • Create event: 1
Last Year
  • Issues event: 16
  • Watch event: 54
  • Issue comment event: 50
  • Push event: 8
  • Pull request review comment event: 3
  • Pull request event: 18
  • Pull request review event: 10
  • Fork event: 10
  • Create event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 585
  • Total Committers: 51
  • Avg Commits per committer: 11.471
  • Development Distribution Score (DDS): 0.617
Past Year
  • Commits: 24
  • Committers: 7
  • Avg Commits per committer: 3.429
  • Development Distribution Score (DDS): 0.292
Top Committers
Name Email Commits
aric a****c@3****f 224
Jarrod Millman j****n@g****m 134
Aric Hagberg a****g@g****m 61
Maksym Markov m****v@g****m 31
Ross Barnowski r****r@b****u 27
Dan Schult d****t@c****u 23
Kagami Hiiragi k****i@g****g 8
Bugamn b****n@d****n 7
Jason Madden j****n@g****m 7
Stephen s****t 4
Mridul Seth s****l@g****m 4
na.nadezhin n****1@t****u 4
Nehal J Wani n****1@g****m 3
William Woodruff w****m@t****m 3
Michał Górny m****y@g****g 3
dschult d****t@3****f 3
David Breese d****0@g****m 2
Sindre Hansen s****2@g****m 2
Wayne Warren w****s@g****m 2
krassowski k****l@g****m 2
Javier Rodrigo López j****o@g****m 1
Keerthan Jaic j****n@g****m 1
Justin Lecher j****c@g****g 1
Michal Petrucha m****a@k****g 1
Adarsh Pyarelal a****l@g****m 1
Jonathan Slenders j****n@s****e 1
Andrii Oriekhov a****v@g****m 1
Ross Barnowski r****r@c****u 1
Luke Tudge l****e@g****m 1
Pavlin Georgiev p****n@v****t 1
and 21 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 106
  • Total pull requests: 110
  • Average time to close issues: 6 months
  • Average time to close pull requests: 15 days
  • Total issue authors: 95
  • Total pull request authors: 24
  • Average comments per issue: 5.18
  • Average comments per pull request: 1.19
  • Merged pull requests: 93
  • Bot issues: 0
  • Bot pull requests: 8
Past Year
  • Issues: 11
  • Pull requests: 18
  • Average time to close issues: 9 days
  • Average time to close pull requests: about 10 hours
  • Issue authors: 10
  • Pull request authors: 8
  • Average comments per issue: 0.64
  • Average comments per pull request: 0.56
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • kloczek (3)
  • rossbar (2)
  • brando90 (2)
  • yasu-sh (2)
  • dantownsend (2)
  • jarrodmillman (2)
  • astrofitz (2)
  • shaolo1 (2)
  • evan0greenup (2)
  • YuxinSun (2)
  • tomasz-stalmach (1)
  • VincentPelletier1 (1)
  • jamesjer (1)
  • vit9696 (1)
  • MarcSkovMadsen (1)
Pull Request Authors
  • jarrodmillman (74)
  • rossbar (19)
  • dependabot[bot] (15)
  • MridulS (6)
  • nehaljwani (4)
  • ocefpaf (2)
  • wsfulton (2)
  • chrizzFTD (2)
  • bmwiedemann (2)
  • PhilippvK (2)
  • elishapiiro (1)
  • Nagael (1)
  • 0xflotus (1)
  • vinayinvicible (1)
  • schaeferpp (1)
Top Labels
Issue Labels
type: Bug fix (3) documentation (2) enhancement (1) question (1) type: Documentation (1) type: Enhancement (1)
Pull Request Labels
type: Maintenance (58) type: Documentation (18) type: Bug fix (6) type: Enhancement (5) documentation (4) bug (1)

Packages

  • Total packages: 3
  • Total downloads:
    • pypi 306,259 last-month
  • Total docker downloads: 32,875,670
  • Total dependent packages: 185
    (may contain duplicates)
  • Total dependent repositories: 2,102
    (may contain duplicates)
  • Total versions: 56
  • Total maintainers: 3
pypi.org: pygraphviz

Python interface to Graphviz

  • Versions: 45
  • Dependent Packages: 174
  • Dependent Repositories: 1,930
  • Downloads: 306,259 Last month
  • Docker Downloads: 32,875,670
Rankings
Dependent packages count: 0.1%
Dependent repos count: 0.3%
Docker downloads count: 0.5%
Downloads: 0.5%
Average: 1.2%
Stargazers count: 2.4%
Forks count: 3.7%
Maintainers (3)
Last synced: about 1 year ago
conda-forge.org: pygraphviz

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 (http://networkx.github.io).

  • Versions: 7
  • Dependent Packages: 10
  • Dependent Repositories: 86
Rankings
Dependent repos count: 3.7%
Dependent packages count: 5.9%
Average: 9.4%
Forks count: 12.7%
Stargazers count: 15.4%
Last synced: 6 months ago
anaconda.org: pygraphviz

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.github.io).

  • Versions: 4
  • Dependent Packages: 1
  • Dependent Repositories: 86
Rankings
Dependent repos count: 19.8%
Forks count: 23.1%
Average: 25.3%
Stargazers count: 27.6%
Dependent packages count: 30.7%
Last synced: 6 months ago

Dependencies

.github/workflows/circleci.yml actions
  • larsoner/circleci-artifacts-redirector-action master composite
.github/workflows/conda-macos.yml actions
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/conda-ubuntu.yml actions
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/conda-windows.yml actions
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/coverage.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
.github/workflows/deploy-docs.yml actions
  • JamesIves/github-pages-deploy-action releases/v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • webfactory/ssh-agent v0.5.4 composite
.github/workflows/lint.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
requirements/developer.txt pypi
  • pre-commit >=2.20 development
requirements/doc.txt pypi
  • matplotlib >=3.5
  • numpydoc >=1.4
  • sphinx >=5.1
  • sphinx-gallery ==0.11
  • sphinx_rtd_theme >=1.0
requirements/release.txt pypi
  • twine >=4.0
  • wheel >=0.37
requirements/test.txt pypi
  • codecov >=2.1.12 test
  • pytest >=7.1 test
  • pytest-cov >=3.0 test