{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics"}],"enrichment":{"capability":"A high-performance graph library for Python, written in Rust, providing graph construction, traversal, and algorithm operations with a single import.","skillfed_tags":["graph-algorithms","rust-backed","performance-critical"],"use_cases":["Build and analyze directed acyclic graphs (DAGs) for compiler or workflow optimization tasks","Compute shortest paths and other graph algorithms on large networks where performance matters","Construct knowledge graphs or dependency networks for scientific computing or data analysis","Implement graph-based algorithms in quantum computing or circuit simulation workflows","Visualize graph structures using matplotlib or graphviz renderers for debugging or reporting"],"what_it_does":"rustworkx is a graph library that wraps Rust graph algorithms in a Python interface, letting you build and analyze graphs\u2014directed, undirected, weighted, or multigraphs\u2014without leaving Python. It exposes graph types like PyGraph and PyDiGraph, plus algorithm functions like dijkstra_shortest_paths, all importable from a single module. The library runs on modern Python (3.10+) and comes with precompiled wheels for most platforms, so installation is typically a single pip command.\n\nThe package is designed for applications that need both ease of use and speed: it originated as a replacement for NetworkX in Qiskit's transpiler DAG but has grown into a general-purpose tool. You construct graphs by adding nodes and edges, then call algorithm functions to compute paths, detect cycles, or traverse the graph. Optional dependencies (matplotlib, graphviz, pillow) unlock visualization functions. It has no known vulnerabilities and is actively maintained.","worth_installing":"Yes. rustworkx is actively maintained, has no known vulnerabilities, and offers a permissive Apache-2.0 license. Install friction is moderate but manageable for common platforms thanks to precompiled wheels. It is worth installing if you need fast graph operations and can work with Python 3.10+; avoid it only if you are locked to older Python versions or a platform without precompiled binaries and cannot install Rust."},"id":"rustworkx","links":{"html":"https://skillfed.io/packages/rustworkx","md":"https://skillfed.io/packages/rustworkx.md","pypi":"https://pypi.org/project/rustworkx/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-30","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"rustworkx","python_support":"supports_current","summary":"A High-Performance Graph Library for Python"},"popularity":{"monthly_downloads":7974860,"position":1676,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.18.1"}
