python-igraph
High performance graph data structures and algorithms (legacy package)
What it is and what it does
python-igraph is a Python wrapper around the igraph C library, providing high-performance data structures and algorithms for working with graphs and networks. It is designed for complex network research and analysis, supporting operations like centrality calculations, community detection, and graph traversal. The package includes optional plotting capabilities via Cairo libraries (pycairo or cairocffi recommended).
This package is deprecated and no longer maintained as of Sep 1, 2022; the maintainers recommend using the igraph package directly instead. While the repository remains active and receives occasional syncs, new features and bug fixes go into igraph. If you are starting a new project, you should use igraph; python-igraph is only appropriate for maintaining existing code or when legacy compatibility is required.
Use it for:
- Analyze social network structures, compute centrality measures, and detect communities in large graphs
- Perform graph algorithms like shortest path, spanning trees, and connectivity analysis on network data
- Generate publication-quality visualizations of network graphs using Cairo rendering
- Research complex networks in biology, physics, or information science with high-performance graph operations
- Migrate or maintain legacy code that depends on the python-igraph API
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python interface to the igraph graph library for network analysis and complex graph algorithms; this is a legacy package superseded by the igraph package.
No, unless you are maintaining existing code that depends on python-igraph. The package is deprecated and no longer updated as of Sep 1, 2022. For new projects, use the igraph package instead. The deprecation notice is explicit in the package description, and the maintainers have redirected users to the replacement.
Install
python-igraph on PyPI
pip
pip install python-igraphuv
uv add python-igraphpoetry
poetry add python-igraphInstalling python-igraph
Before you install
Low install friction with a pure Python wheel, but the package is deprecated as of Sep 1, 2022 and no longer receives updates. The underlying igraph dependency is actively maintained, but this wrapper is in legacy status.
License in practice
Licensed under GNU General Public License (GPL), a copyleft license requiring that derivative works and modifications be released under the same terms. Consider this constraint if you plan to distribute code that uses this package.
Quickstart
pip install python-igraph
import igraph
g = igraph.Graph.Famous("Zachary")
print(g.summary())
The igraph runtime dependency must be installed; Cairo bindings (pycairo or cairocffi) are optional but recommended for graph plotting functionality.
Verify before relying
- Whether the igraph runtime dependency is pre-installed or auto-installed with this package
- Current status of the igraph package as a replacement and whether it is a drop-in substitute
Package facts
| License | GNU General Public License (GPL) (copyleft) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — igraph |
| Maintenance | actively maintained — 295 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 596,671/month — #5,838 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_igraph-1.0.0-py3-none-any.whl
Keywords: graph, network, mathematics, math, graph theory, discrete mathematics
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
igraphigraph provides a Python interface to a…
copyleft · top 5,000 on PyPI
planarityTests whether a graph is planar, computes…
permissive · top 15,000 on PyPI
networkxNetworkX provides data structures and…
permissive · top 1,000 on PyPI
leidenalgImplements the Leiden community detection…
copyleft · top 15,000 on PyPI
scikit-networkscikit-network provides graph algorithms and…
permissive · top 5,000 on PyPI
pygraphvizPyGraphviz provides a Python interface to…
permissive · top 5,000 on PyPI
graspologicGraspologic provides graph statistical…
permissive · top 15,000 on PyPI
ipysigmaA Jupyter widget that renders interactive…
permissive · top 15,000 on PyPI
retworkxA deprecated package name for rustworkx, a…
permissive · top 15,000 on PyPI