Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Calculate readability scores (Flesch Reading Ease, etc.).

Project Description

Textatistic is a Python package to calculate the Flesch Reading Ease, Flesch-Kincaid, Gunning Fog, Simple Measure of Gobbledygook (SMOG) and Dale-Chall readability indices. Textatistic also contains functions to count the number of sentences, characters, syllables, words, words with three or more syllables and words on an expanded Dale-Chall list of easy words.


$ pip install textatistic


Detailed documentation available at


>>> from textatistic import Textatistic

# Generate object of readability statistics.
>>> text = 'There was a king with a large jaw. There was a queen with a plain face.'
>>> s = Textatistic(text)

# Return sentence count.
>>> s.sent_count

# Return Flesch Reading Ease score.
>>> s.flesch_score

# Return dictionary of character/word/syllable counts.
>>> s.counts

# Return dictionary of readability scores.
>>> s.scores

# Return dictionary of all attribute values.
>>> s.dict()

Table of attributes

char_count number of non-space characters.
notdalechall_count number of words not on Dale-Chall list of words understood by 80% of 4th graders.
polysyblword_count number of words with three or more syllables.
sent_count number of sentences.
sybl_count number of syllables.
word_count number of words.
dalechall_score Dale-Chall score.
flesch_score Flesch Reading Ease score.
fleschkincaid_score Flesch-Kincaid score.
gunningfog_score Gunning Fog score.
smog_score SMOG score.
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
textatistic-0.0.1.tar.gz (29.9 kB) Copy SHA256 Checksum SHA256 Source Oct 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting