$npx skillfedfor your agent

retworkx

A High-Performance Graph Library for Python

SkipPyPI Scientific/EngineeringReleased Sep 202598.9K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — retworkx-0.17.1-py3-none-any.whl
v0.17.1 · released 2025-09-15 · Python >=3.9 · 1 runtime deps: rustworkx

No—retworkx is deprecated and retired. Install rustworkx instead, which is the active successor and is described as a drop-in replacement. The fact sheet itself recommends rustworkx over retworkx. If you are already using retworkx, migration to rustworkx is the appropriate path forward.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.9.
  • Building from source requires Rust >= 1.79 and cargo.
  • Precompiled binaries available for x86_64, i686, ppc64le, s390x, aarch64 Linux; x86_64 macOS; and 32/64-bit Windows.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2025-09-15 (333 days) · last repo commit 2026-08-07 · 1,738 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 98,881 downloads/mo, #13,053 on PyPI

Verify before relying

pip install retworkx

import rustworkx

graph = rustworkx.PyGraph()
a = graph.add_node("A")
b = graph.add_node("B")
graph.add_edges_from([(a, b, 1.5)])
  • Whether retworkx will continue to receive security updates or if users must migrate to rustworkx immediately
  • Exact compatibility guarantees between retworkx 0.17.1 and rustworkx as a drop-in replacement
Same gist for agents: .md · .json

What it is and what it does

retworkx is the deprecated package name for rustworkx, a high-performance graph library for Python implemented in Rust. It provides graph data structures (directed and undirected) and a suite of graph algorithms including shortest-path calculations, traversals, and other network operations. The package is designed for performance and is suitable for applications ranging from quantum computing transpilers to general network analysis.

The package has been retired in favor of rustworkx, which is described as a drop-in replacement. Users installing retworkx will actually get rustworkx as its runtime dependency. The library supports Python 3.9 through 3.13 and offers optional visualization modules via matplotlib or graphviz when those dependencies are installed separately.

Use it for

  • Computing shortest paths and other algorithms on directed or undirected graphs
  • Building and manipulating network structures for quantum computing transpilers or DAG-based workflows
  • Analyzing network topology and connectivity in scientific or research applications
  • Visualizing graphs using matplotlib or graphviz integration when optional dependencies are present

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—retworkx is deprecated and retired.

Install rustworkx instead, which is the active successor and is described as a drop-in replacement. The fact sheet itself recommends rustworkx over retworkx. If you are already using retworkx, migration to rustworkx is the appropriate path forward.

Install

retworkx on PyPI

Before you install

Low install friction with precompiled wheels available for common platforms. Active maintenance with last commit on 2026-08-07. However, this is the deprecated package name; rustworkx is the actively maintained successor and recommended replacement.

Requires Python >= 3.9. Building from source requires Rust >= 1.79 and cargo. Precompiled binaries available for x86_64, i686, ppc64le, s390x, aarch64 Linux; x86_64 macOS; and 32/64-bit Windows.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install retworkx

import rustworkx

graph = rustworkx.PyGraph()
a = graph.add_node("A")
b = graph.add_node("B")
graph.add_edges_from([(a, b, 1.5)])

Verify before relying

  • Whether retworkx will continue to receive security updates or if users must migrate to rustworkx immediately
  • Exact compatibility guarantees between retworkx 0.17.1 and rustworkx as a drop-in replacement

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
rustworkx
MaintenanceActively maintained 333 days since the last release
Last repo commit
First released
Downloads98,881 / month, #13,053 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Rust

Evidence: retworkx-0.17.1-py3-none-any.whl

Tags

Capabilities
graph library pythonnetwork algorithmsdirected acyclic graphshortest path algorithmgraph data structurehigh-performance graphrust graph library
Topics
graph-algorithmsrust-bindingdeprecated
PyPI keywords
NetworksNetworkGraphGraph TheoryDAG

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “graph library python”

  • retworkxA deprecated package name for rustworkx, a high-performance graph…
  • objectgraphObjectgraph provides a Python class for representing directed graphs…
  • rustworkxA high-performance graph library for Python, written in Rust,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also rustworkx · chalkpy-rs · networkx · setuptools-rust · kailash-enterprise · altgraph · graspologic-native · tensor-grep · moviepilot-rust · baseten-performance-client