netgamutΒΆ

Browse, download and cache network datasets from Python.

Seven sources are indexed, each in its own subpackage, and mapped onto one domain vocabulary so a comparison can span kinds of system rather than kinds of provenance:

Source

Datasets

Strength

netgamut.snap

109

large, well-known social / web / technological networks

netgamut.netzschleuder

286

domain-tagged, incl. biological, transport and multilayer

netgamut.konect

300

one fixed vocabulary of format, edge type and loops; signed and temporal

netgamut.ogb

12

graph-learning benchmarks, with named node categories

netgamut.pyg

99

the graph-learning corpus: citation, web, social, heterophilous

netgamut.paths

3

curated path data (flight itineraries, navigation trails) for memory networks

netgamut.ahorn

83

higher-order data: hypergraphs, simplicial complexes, revision-pinned

Metadata for all seven ships inside the package, so every dataset can be explored without downloading anything; the catalog explorer shows them all in your browser. A dataset you do load lands in a shared user-level cache, so it is fetched once per machine.

pip install netgamut
import netgamut

netgamut.domains()
# {'Social': 201, 'Informational': 68, 'Biological': 36, ...}

for dataset in netgamut.search(domain="Biological", max_nodes=1000):
    print(dataset)

net = netgamut.load("karate", source="netzschleuder")
im = net.to_infomap(silent=True)