Skip to content
ai-supply.store
استكشافالفئاتلوحة المتصدرينالمجتمعAgent APIFAQ
تسجيل الدخولإنشاء حساب مجاني
catalog / Marketing / Sumy — Automatic Text Summarization
⬡PipelineMarketingFree

Sumy — Automatic Text Summarization

Python library with 7 summarization algorithms (LSA, Luhn, Lex Rank, TextRank) for documents and HTML pages.

@ai-supply
التثبيتات73k
⟳ upstream v0.12.0 · updated 5mo ago
↗ مستودع المصدر
← More MarketingMarketing leaderboard →How we grade security →Source ↗
! Grade B · 75/100 · ReviewSecurity assessment
✓No compromise signals8capabilities surfaced1known CVE9of 20 OWASP controls clear
External endpoints declaredSuspicious code patternsExternal endpoints declaredExternal endpoints declared
scanned 18d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

Sumy — Automatic Text Summarization

Sumy is a Python module and CLI for extractive text summarization, implementing seven proven algorithms: LSA, Luhn, Edmundson, Lex Rank, TextRank, SumBasic, and KL-Sum. Works on raw text, HTML, or plain URLs — no LLM required.

Key features

  • 7 summarization algorithms; easily swap to compare quality
  • Supports HTML page input (strips boilerplate automatically)
  • Multi-language support via NLTK tokenizers (30+ languages)
  • CLI for quick prototyping; Python API for pipelines
  • Zero API calls — fully local, no rate limits or cost

Quick start

pip install sumy
# Summarize a URL with LexRank in 5 sentences
sumy lex-rank --url https://en.wikipedia.org/wiki/Artificial_intelligence --sentences 5
from sumy.parsers.html import HtmlParser
from sumy.nlp.tokenizers import Tokenizer
from sumy.summarizers.lex_rank import LexRankSummarizer

parser = HtmlParser.from_url("https://example.com/article", Tokenizer("english"))
summarizer = LexRankSummarizer()
for sentence in summarizer(parser.document, sentences_count=5):
    print(sentence)
npx ai-supply add sumy-text-summarization

Curated mirror of the open-source Sumy (Apache-2.0). Get it from the source.

Rating rank
#1
of 13 in Marketing
Install rank
#6
of 13 in Marketing
Security score
75/100 · B
review
Security rank
#9
of 13 in Marketing
Installs
73k
cat avg 80k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Marketing leaderboard →
! Security: Review · 7575/100 · grade Bscanned 18d ago
✓ no compromise signals9 risk-surface · 5/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ network
egress → docs.github.com, astral.sh, en.wikipedia.org, docs.python-requests.org, docs.astral.sh, www.apache.org, img.shields.io, gitpod.io +32
17 steps⚑ uses secretsdocs.github.comactions/checkout@v7astral-sh/setup-uv@v7codecov/codecov-action@v6astral.shen.wikipedia.org

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM03Supply Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.
•Vulnerable dependencies — 62 known vulnerabilities in: idna@3.11, lxml@6.0.2, lxml-html-clean@0.4.3, nltk@3.9.1, nltk@3.9.2, pygments@2.19.2, pytest@8.3.5, pytest@8.4.2 (CWE-1395)known CVE · -25 pts
⚠LLM05Improper Output Handlinghigh
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — pipe-to-shell install · miso-belica-sumy-503340b/.gitpod.yml (CWE-494)risk surface
⚠LLM06Excessive Agencymedium
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · miso-belica-sumy-503340b/.github/dependabot.ymlrisk surface
•External endpoints declared — 2 distinct host(s) · miso-belica-sumy-503340b/.gitpod.ymlrisk surface
•External endpoints declared — 12 distinct host(s) · miso-belica-sumy-503340b/README.mdrisk surface
•External endpoints declared — 6 distinct host(s) · miso-belica-sumy-503340b/docs/alternatives.mdrisk surface
•External endpoints declared — 3 distinct host(s) · miso-belica-sumy-503340b/docs/index.mdrisk surface
•External endpoints declared — 9 distinct host(s) · miso-belica-sumy-503340b/docs/summarizators.mdrisk surface
•External endpoints declared — 4 distinct host(s) · miso-belica-sumy-503340b/sumy/nlp/stemmers/ukrainian.pyrisk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
◷LLM10Unbounded ConsumptionRuntime-enforced
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
✓LLM01Prompt InjectionPassed
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM07System Prompt LeakagePassed
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chaincritical
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Vulnerable dependencies — 62 known vulnerabilities in: idna@3.11, lxml@6.0.2, lxml-html-clean@0.4.3, nltk@3.9.1, nltk@3.9.2, pygments@2.19.2, pytest@8.3.5, pytest@8.4.2 (CWE-1395)known CVE · -25 pts
⚠ML09Output Integrityhigh
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — pipe-to-shell install · miso-belica-sumy-503340b/.gitpod.yml (CWE-494)risk surface
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML02Data PoisoningPassed
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (2) · hygiene / uncategorized
•Unrecognized file type — '.gitignore' is not on the allowlist · miso-belica-sumy-503340b/.gitignorerisk surface
•Unrecognized file type — '.?' is not on the allowlist · miso-belica-sumy-503340b/Dockerfilerisk surface
✔ verified source · pinned miso-belica-sumy-503340b
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/sumy-text-summarization/check). Click a policy:

Consume Sumy — Automatic Text Summarization programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/sumy-text-summarization

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/sumy-text-summarization/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add sumy-text-summarization

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/sumy-text-summarization/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "sumy-text-summarization" })
OpenAPI spec →
vlatest
! Security: Review · 751mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

قدرات ذكاء اصطناعي مجانية ومفحوصة أمنيًا — مهارات وخوادم MCP وإضافات ووكلاء ومجموعات بيانات وغيرها، كلٌّ منها مُقيَّم ومُتابَع لحداثته، ومبنيّ للبشر والوكلاء على حدٍّ سواء.

api · v3.1status · all green
تواصل معنا
support@ai-supply.storesecurity@ai-supply.store
الكتالوج
  • استكشاف
  • الفئات
  • لوحة المتصدرين
  • المعايير
  • الأمان
  • Scan a repo
المجتمع
  • المجتمع
  • FAQ
للوكلاء
  • بدء سريع (60s)
  • تفويض وكيل
  • Agent API
  • مواصفات OpenAPI
للمطورين
  • نشر
  • لوحة التحكم
الحساب
  • إنشاء حساب
  • تسجيل الدخول
  • الإعدادات
قانوني
  • الشروط
  • اتفاقية الناشر
  • سياسة الاستخدام المقبول
  • الخصوصية