#222222nd of 242 in ML frameworks and libraries

graphembedding

Python graph embedding library: DeepWalk, LINE, Node2Vec, SDNE, Struc2Vec

Stars
3.8k
License
MIT
Last commit
Apr 2026
Language
Python
Stars, last 29 weeks+20
25 Apr 2026: 3,821 stars2 May 2026: 3,821 stars9 May 2026: 3,821 stars16 May 2026: 3,822 stars23 May 2026: 3,822 stars30 May 2026: 3,824 stars6 Jun 2026: 3,825 stars13 Jun 2026: 3,825 stars20 Jun 2026: 3,826 stars27 Jun 2026: 3,827 stars4 Jul 2026: 3,828 stars11 Jul 2026: 3,829 stars18 Jul 2026: 3,829 stars25 Jul 2026: 3,831 stars1 Aug 2026: 3,831 stars8 Aug 2026: 3,832 stars15 Aug 2026: 3,833 stars22 Aug 2026: 3,833 stars29 Aug 2026: 3,833 stars5 Sept 2026: 3,833 stars12 Sept 2026: 3,834 stars19 Sept 2026: 3,835 stars26 Sept 2026: 3,835 stars3 Oct 2026: 3,837 stars10 Oct 2026: 3,837 stars17 Oct 2026: 3,839 stars24 Oct 2026: 3,840 stars31 Oct 2026: 3,841 stars7 Nov 2026: 3,841 stars14 Nov 2026: 3,841 stars

3,821 on 25 Apr 20263,841 on 14 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Python library that learns node embeddings from a networkx graph, following a "graph in, embedding out" design. It implements five published methods: DeepWalk, LINE, Node2Vec, SDNE and Struc2Vec. Each model is initialised with a graph, trained with train(), and returns vectors through get_embeddings().

Who it is for: Python users computing node embeddings on graphs for research or recommendation

Strengths

  • Five classic embedding methods share one init/train/get_embeddings interface
  • Reads plain networkx graphs from edge-list files, with optional edge weights
  • Example scripts included, run after pip install -e .[tf]
  • MIT license

Weaknesses

  • No tagged release; install is from a cloned repo only
  • Covers only 2014-2017 methods; no GNN-based or newer embedding models
  • Docs are README snippets; linked method write-ups are in Chinese

What it needs

  • Needs networkx, TensorFlow (tf extra)
  • Models: DeepWalk, LINE, Node2Vec, SDNE, Struc2Vec

Also in ML frameworks and libraries

See all 242
Also in ML frameworks and libraries
RankProjectScore
1transformersModel-definition library for pretrained text, vision, audio and multimodal models169.3k starsApache-2.094 out of 100
2ultralyticsPython library and CLI for training and running YOLO vision models63.5k starsAGPL-3.094 out of 100
3pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k starsApache-2.094 out of 100
#4pytorchPython tensor library with GPU support and tape-based autograd105.8k starscustom license93 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.7k starsMIT92 out of 100