{"library":"networkit","title":"NetworKit","description":"NetworKit is an open-source toolbox for high-performance network analysis. It provides efficient implementations of graph algorithms for large networks, with a focus on scalability and performance. Current version 11.2.1, released irregularly.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install networkit"],"cli":{"name":"networkit","version":"sh: 1: networkit: not found"}},"imports":["import networkit as nk","from networkit import graph"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import networkit as nk\n\n# Create a graph\nG = nk.Graph(5)\nG.addEdge(0, 1)\nG.addEdge(1, 2)\nG.addEdge(2, 3)\nG.addEdge(3, 4)\n\n# Run BFS\nbfs = nk.distance.BFS(G, 0)\nbfs.run()\nprint(bfs.distances())","lang":"python","description":"Basic usage: create a graph, add edges, run a BFS.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}