Python package for creating, analyzing and drawing graphs and complex networks
open sourceBSD-3-Clausefree
NetworkX is a Python package for creating, manipulating and studying the structure, dynamics and functions of complex networks, such as social, biological and infrastructure networks. It gives a standard programming interface and graph implementation, loads and stores networks in standard and nonstandard formats, generates many kinds of random and classic networks, analyzes network structure (shortest paths, for one), builds network models and draws networks. Third-party backends can accelerate its algorithms, and it interfaces with numerical code in C, C++ and Fortran. Its users include mathematicians, physicists, biologists, computer scientists and social scientists.
Problems it solves
- find the shortest path between two nodes in Python
- analyze a social network's structure in Python
- build and query a graph of dependencies in a Python script
Features
- A standard graph implementation and programming interface
- Loads and stores networks in standard and nonstandard formats
- Generates random and classic networks
- Analyzes network structure, including shortest paths
- Draws networks, and third-party backends accelerate algorithms
