Contents

networkx 3.2.1

0

Python package for creating and manipulating graphs and networks

Python package for creating and manipulating graphs and networks

Stars: 14067, Watchers: 14067, Forks: 3120, Open Issues: 330

The networkx/networkx repo was created 13 years ago and the last code push was 4 hours ago.
The project is extremely popular with a mindblowing 14067 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
License
Homepage
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
No  networkx  pypi packages just yet.

Errors

A list of common networkx errors.

Code Examples

Here are some networkx code examples and snippets.

GitHub Issues

The networkx package has 330 open issues on GitHub

  • Update scipy
  • Use from_dict_of_lists instead of make_small_graph in generators.small
  • Deprecate make_small_graph and make_small_undirected_graph from small submodule?
  • Tutte polynomial
  • Update draw_<layout> docstrings with usage examples
  • Deprecate scipy sparse matrix conversion functions
  • Update relabel.py to preserve node order
  • Distance_measures.py functions should work for weighted graphs too.
  • Examples section of to_numpy_array could be improved
  • Harmonic diameter
  • Refactor to_numpy_array with advanced indexing
  • from_pandas_edgelist does not create weighted graphs despite providing weight column in edge_attrs
  • Improving the performance of triangles
  • Update imports to use lazy loading
  • minimum_cut returns correct value, valid partition, but different from what it claims to return

See more issues on GitHub

Related Packages & Articles