
networkx 3.6.1
0
Python package for creating and manipulating graphs and networks
Contents
Python package for creating and manipulating graphs and networks
Stars: 16626, Watchers: 16626, Forks: 3462, Open Issues: 350The networkx/networkx repo was created 15 years ago and the last code push was 16 hours ago.
The project is extremely popular with a mindblowing 16626 github stars!
How to Install networkx
You can install networkx using pip
pip install networkx
or add it to a project with poetry
poetry add networkx
Package Details
- Author
- None
- License
- None
- Homepage
- None
- PyPi:
- https://pypi.org/project/networkx/
- Documentation:
- https://networkx.org/documentation/stable/
- GitHub Repo:
- https://github.com/networkx/networkx
Classifiers
- Scientific/Engineering/Bio-Informatics
- Scientific/Engineering/Information Analysis
- Scientific/Engineering/Mathematics
- Scientific/Engineering/Physics
- Software Development/Libraries/Python Modules
Related Packages
Errors
A list of common networkx errors.
Code Examples
Here are some networkx code examples and snippets.
GitHub Issues
The networkx package has 350 open issues on GitHub
- tree.center: raise NotATree for self-loops
- BUGFIX: spring energy layout with zero iterations
- Computing normalized rich-club coefficient may lead to
ZeroDivisionError - Desired semantics: chordal graphs with self-loops
- Proposal: Optimized Minimal Cycle Basis (MCB) for Planar/Sparse Graphs (300x faster speedup)
- GSoC 2026 not planned for NetworkX
- Optimize _build_paths_from_predecessors stack logic for 30-40% speedup
- Optimize _build_paths_from_predecessors stack logic for 30-40% speedup
- Fix network simplex callable
- ENH: Add support for hiding edges for callable capacity or weight parameter
- DOC: Floating point consideration in negative cycles
- Doc/add examples and unit tests for betweenness_centrality_subset
- Bug: Documentation build fails/warns for missing optional dependencies in examples
- DOC: clarify maximal independent set and relation to cliques
- Adding optional sp arg to closeness_centrality
pythonfix