{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"},{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics"},{"label":"Visualization","url":"https://skillfed.io/packages/category/scientific-engineering-visualization"}],"enrichment":{"capability":"altgraph constructs and analyzes graphs (networks), supporting BFS and DFS traversals, topological sorting, shortest paths, and graphviz output.","skillfed_tags":["graph-algorithms","network-analysis","dependency-analysis"],"use_cases":["Analyze module dependencies in Python applications or build tools","Perform graph traversals and topological sorting on network data","Export graph structures to graphviz for visualization and debugging","Build dependency graphs for build systems or package managers","Compute shortest paths and connectivity in directed networks"],"what_it_does":"altgraph is a Python graph library descended from graphlib, providing data structures and algorithms for building and analyzing directed and undirected networks. It offers core graph operations\u2014breadth-first and depth-first traversal, topological sorting, shortest-path computation\u2014and can export graphs in graphviz format for visualization. The package has no runtime dependencies and supports Python 2.7 and Python 3.4 through 3.14.\n\nThe library is primarily used as a dependency in tools like py2app and macholib for analyzing module and binary dependencies. It is stable and widely deployed (over 12 million monthly downloads), though maintenance is aging\u2014the last release was 266 days ago. For straightforward graph construction and traversal tasks, it remains a lightweight, dependency-free choice.","worth_installing":"Yes. altgraph is a stable, lightweight, zero-dependency library with permissive licensing and no known vulnerabilities. Install it when you need core graph algorithms and traversal operations. The aging maintenance status (last release 266 days ago) is not a blocker for stable use, but monitor the repository if you require active development or new features."},"id":"altgraph","links":{"html":"https://skillfed.io/packages/altgraph","md":"https://skillfed.io/packages/altgraph.md","pypi":"https://pypi.org/project/altgraph/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-21","license_spdx":null,"license_treatment":"permissive","name":"altgraph","python_support":"unspecified","summary":"Python graph (network) package"},"popularity":{"monthly_downloads":12333630,"position":1326,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.17.5"}
