# textstat/textstat

:memo: python package to calculate readability statistics of a text object - paragraphs, sentences, articles.

Repository: https://github.com/textstat/textstat
Canonical: https://ross.abutalabs.com/products/textstat
Homepage: https://textstat.org
Language: Python
License: MIT
License Family: permissive
Topics: python, textstat, readability, flesch-kincaid-grade, smog, flesch-reading-ease
Last push: 2026-02-18T21:09:31+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 59, longevity 100
- inputs: {"age_days": 4459, "days_push": 196, "days_rel": 196, "gap_med": 67, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1378, forks 185 (observed 2026-08-28T04:04:33.499574+00:00)

## What it is
Textstat is a Python library that calculates statistical features from text, including readability scores like Flesch Reading Ease, Flesch-Kincaid Grade, SMOG, and Gunning Fog. It supports multiple languages and can also be used as a standalone command-line tool.

## Use cases
- score the readability of an article
- compute flesch-kincaid grade level of text
- check reading complexity of paragraphs
- count difficult words in a document
- measure smog index of content
- assess text grade level for education materials

## When to choose
- you need readability or complexity metrics for English or other supported languages in Python
- you want a simple, well-maintained library with many readability formulas
- you need both a library API and a CLI for text statistics

## When to avoid
- you need full NLP analysis like parsing, sentiment, or entity extraction
- you need readability formulas for languages not supported by the library
- you need deep linguistic analysis rather than surface statistics

## Facets
- artifact type: library
- maturity: stable
- function: nlp, developer-tools
- domain: text-editors, education
- platform: python, cli, cross-platform
- tags: readability, flesch-kincaid, smog, text-metrics, grade-level, natural-language-processing

## Member repositories
- textstat/textstat (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.499574+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:24.055210+00:00, confidence not recorded.
  - readme: https://github.com/textstat/textstat (fetched 2026-08-28T04:04:33.499574+00:00, sha be718d58d8d5)
  - homepage: https://textstat.org (fetched 2026-08-29T11:56:36.366518+00:00, sha af482c227a0f)
  - site_page: https://docs.textstat.org (fetched 2026-08-29T11:56:36.368794+00:00, sha 67976619cae8)
  - registry_pypi: https://pypi.org/pypi/textstat/json (fetched 2026-08-29T11:56:36.370363+00:00, sha ed71f7cc016f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
