Efficient network analysis library and tools for Python 3
Efficient network analysis for Python 3
graph-tool$ python3 -c "from graph_tool.all import *; g = Graph(); g.add_vertex(5); print('Graph created with', g.num_vertices(), 'vertices')"$ python3 -c "from graph_tool.all import *; g = load_graph('network.graphml'); print('Vertices:', g.num_vertices(), 'Edges:', g.num_edges())"$ python3 -c "from graph_tool.all import *; g = Graph(); [g.add_edge(i, (i+1)%5) for i in range(5)]; bc = betweenness(g); print('Betweenness centrality computed')"