NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3350 most downloaded on PyPI
Typing stubs for networkx
Last release 7 days ago
11 Sep 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
82 releases · first in 2023
fix: weight parameter type for networkx.algorithms.shortest_paths
fix: weight parameter type for networkx.algorithms.shortest_paths (#12663)
Fix networkx DiDegreeView.__call__() can return int
Fix networkx DiDegreeView.__call__() can return int (#12472)
Fix networkx DiDegreeView.__call__()
DiDegreeView.__call__() can return an integer if a single node is specified, as is also documented in the docstrings of the method:
https://github.com/networkx/networkx/blob/89718e0514bded93ded5b00aed755a4474c1dc6f/networkx/classes/digraph.py#L1198-L1199
Implementation:
https://github.com/networkx/networkx/blob/89718e0514bded93ded5b00aed755a4474c1dc6f/networkx/classes/reportviews.py#L436-L437
One column per month.
Pin numpy in various stubs
Pin numpy in various stubs (#12554)
Add graph attribute to networkx.Graph
Add graph attribute to networkx.Graph (#12505)
networkx: Fix stubtest errors and remove numpy version pin
networkx: Fix stubtest errors and remove numpy version pin (#12477)
Bump mypy to 1.11.1
Bump mypy to 1.11.1 (#12463)
add stubs for networx.has_path
add stubs for networx.has_path (#12252)
Pin various stubs to numpy to < 2
Pin various stubs to numpy to < 2 (#12152)
Fixes #12146
[networks] Fix some functions requiring DiGraph objects
[networks] Fix some functions requiring DiGraph objects (#12066)
add networkx.topological_generations
add networkx.topological_generations (#11927)
[networkx] Fix incremental_closeness_centrality argument type
[networkx] Fix incremental_closeness_centrality argument type (#11828)
Annotate a few NetworkX algorithm types
Annotate a few NetworkX algorithm types (#11811)
Remove bare Incomplete annotations in third-party stubs
Remove bare Incomplete annotations in third-party stubs (#11671)
networkx: add another overload to OutEdgeView.__call__().
networkx: add another overload to OutEdgeView.call(). (#11578)
It's common to call the 'edges' property of a DiGraph with an 'nbunch' argument and no other arguments (see the Examples section of https://networkx.org/documentation/stable/reference/classes/generated/networkx.DiGraph.out_edges.html). None of the existing overloads allow this.
Fix networkx stub; location of subgraph_view, etc.
Fix networkx stub; location of subgraph_view, etc. (#11385)
Nothing published for this version
A new shade of Black
A new shade of Black (#11362)
Bump networkx to 3.2.1
Bump networkx to 3.2.1 (#11336)
Add more networkx annotations for networkx.algorithms.dag
Add more networkx annotations for networkx.algorithms.dag (#11224)
Update typing_extensions imports in third-party stubs
Update typing_extensions imports in third-party stubs (#11245)
Add some missing networkx annotations
Co-authored-by: Avasam Co-authored-by: Audrey Dutcher
Add networkx stubs (#10544)
Co-authored-by: Avasam samuel.06@hotmail.com Co-authored-by: Audrey Dutcher audrey@rhelmot.io
Your coding agent can read these notes before it upgrades. Set up the MCP server →