Comparison
altgraph vs graphlib vs objectgraph vs rustworkx
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 graphlibA 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 objectgraphA High-Performance Graph Library for Python
Actively maintained. Last release 4 months ago, commits in 14 of the last 26 weeks. A safe choice.
pip install rustworkxIn short
- graphlib is archived: avoid it for new projects.
- altgraph is the most used: 11.8M downloads a month, 1.5× more than rustworkx.
- rustworkx is better maintained: Pythie’s Index 78 against 22.
- objectgraph is growing fastest: downloads +81% over the last month.
Side by side
| Metric | altgraph | graphlib | objectgraph | rustworkx |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | 2 |