#3636th of 60 in Data and scraping for AI

sumy

Extractive text summarizer for web pages and plain text, as library and CLI

Stars
3.7k
License
Apache-2.0
Last commit
Nov 2026
Last release
Aug 2026
Language
Python
Stars, last 29 weeks+45
22 Apr 2026: 3,655 stars29 Apr 2026: 3,659 stars6 May 2026: 3,662 stars13 May 2026: 3,665 stars20 May 2026: 3,667 stars27 May 2026: 3,669 stars3 Jun 2026: 3,671 stars10 Jun 2026: 3,673 stars17 Jun 2026: 3,676 stars24 Jun 2026: 3,677 stars1 Jul 2026: 3,678 stars8 Jul 2026: 3,679 stars15 Jul 2026: 3,681 stars22 Jul 2026: 3,682 stars29 Jul 2026: 3,685 stars5 Aug 2026: 3,686 stars12 Aug 2026: 3,688 stars19 Aug 2026: 3,689 stars26 Aug 2026: 3,689 stars2 Sept 2026: 3,690 stars9 Sept 2026: 3,691 stars16 Sept 2026: 3,692 stars23 Sept 2026: 3,693 stars30 Sept 2026: 3,694 stars7 Oct 2026: 3,695 stars14 Oct 2026: 3,696 stars21 Oct 2026: 3,696 stars28 Oct 2026: 3,697 stars4 Nov 2026: 3,698 stars11 Nov 2026: 3,700 stars

3,655 on 22 Apr 20263,700 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Sumy is a Python library and command line tool that summarizes HTML pages (by URL) or plain text by selecting key sentences with classic extractive algorithms such as LexRank, Luhn, LSA and Edmundson. It also includes a small evaluation framework for scoring summaries against a reference. It uses no neural or LLM models.

Who it is for: Python developers needing model-free extractive summaries of text or web pages

Strengths

  • Installs with pip or uv; usable as a library or via sumy and sumy_eval commands
  • Several extractive algorithms (LexRank, Luhn, LSA, Edmundson) with per-language tokenizers
  • Built-in evaluation commands compare summaries against a reference text
  • Docker image and a Hugging Face Space allow trying it without installing

Weaknesses

  • Extractive only: picks existing sentences, cannot rewrite or abstract
  • Language coverage depends on tokenizers; unsupported languages need manual additions
  • Python API example still carries legacy Python 2 compatibility imports

What it needs

  • no GPU
  • Docker

What changed

  1. v0.13.0 ↗ (opens in a new tab)Security fix

    CVE-2024-39705, GHSA-CX63-2MW6-8HW5, GHSA-5RJG-FVGR-3XXF. “INCOMPATIBILITY: nltk>=3.9 is now required, since 3.8.2 withdrew the punkt pickle over CVE-2024-39705. See https://github.com/miso-belica/sumy/issues/216”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Data and scraping for AI

See all 60
Also in Data and scraping for AI
RankProjectScore
1doclingPython library that converts PDFs, Office files and more into structured text70.5k stars+1,801 (+2.6%) in 30 daysMIT92 out of 100
2mineruParses PDFs, images and Office files into Markdown and structured JSON Live demo ↗ (opens in a new tab)83.6k stars+2,160 (+2.7%) in 30 dayscustom license91 out of 100
3opendataloader-pdfPDF parser that outputs Markdown, JSON with bounding boxes, and Tagged PDF30.3k stars+705 (+2.4%) in 30 daysApache-2.091 out of 100
#4agent-reachCLI that gives coding agents read access to login-gated and Chinese web platforms111.3k stars+14,960 (+16%) in 30 daysMIT89 out of 100
#5markitdownPython library and CLI that converts office files, PDFs and audio to Markdown195.1k stars+5,652 (+3.0%) in 30 daysMIT87 out of 100