← all repositories
graspologic-org/graspologic

When your social network needs more than a spreadsheet

A Python toolkit that treats graph structure as first-class data instead of flattening it into tables.

1k stars Python Data ToolingML Frameworks
graspologic
Velocity · 7d
+0.4
★ / day
Trend
steady
star history

What it does

graspologic provides statistical algorithms purpose-built for graph-structured data — networks where the connections between items matter as much as the items themselves. It covers processing, analysis, and specialized statistical methods that respect node arrangement rather than ignoring it.

The interesting bit

The README makes a quietly important point: standard statistical techniques “neglect the spatial arrangement of nodes within the network.” This is the difference between treating a social network as a list of friend-pairs versus analyzing who sits at the center of which clique. The package builds on academic work published in JMLR — it started life as “GraSPy” — so the methods have paper trails.

Key highlights

  • Published backing: citeable JMLR paper from 2019
  • Cross-platform: tested on Linux, macOS, Windows (x86_64 only)
  • Python 3.9 through 3.12 supported
  • Install via pip install graspologic
  • Tutorials and docs hosted separately at graspologic-org.github.io

Caveats

  • No ARM support mentioned; Apple Silicon and other non-x86_64 platforms are “try it and file an issue” territory
  • Hardware requirements are vague (“enough RAM” for in-memory ops)
  • The README is lean on specific algorithm names or performance characteristics

Verdict

Worth a look if you’re doing network analysis in Python and want methods that understand topology, not just adjacency. Skip if you need GPU acceleration, out-of-core processing, or a graph database — this is in-memory statistical computing with a research bent.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.