Comparison
altgraph vs graphlib vs networkx vs objectgraph
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python graph (network) package
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install altgraphGraph API
Archived. The repository is read-only: no more fixes or releases will come.
pip install graphlibPython package for creating and manipulating graphs and networks
Actively maintained. Last release 2 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install networkxA basic graph library
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install objectgraphIn short
- graphlib is archived: avoid it for new projects.
- networkx is the most used: 292.4M downloads a month, 25× more than altgraph.
- networkx also has the best Pythie’s Index (88).
- objectgraph is growing fastest: downloads +81% over the last month.
- Safe default for a new project: networkx.
Side by side
| Metric | altgraph | graphlib | networkx | objectgraph |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | 2 |