Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

A reading text analysis tool

Project description

Text (readability) analysis tool written in Python (2.7 and 3).


Drat is a tool that analyzes reading texts and produces a brief report which provides the following information:

  • the Dale-Chall readability score.
  • the Coleman-Liau Readability Index.
  • the number of uncommon words (based on the General Service List).
  • a list of all of these uncommon words (if you choose the verbose option).

Drat supports docx, odt, ods, odp files as well as text files and urls.

You can also analyze multiple texts / links by creating a text file with the filenames / links written in it.

A simple example of how drat can be used in a web application is provided in the webapp directory.


Please read the wiki for information about how to use drat.


Python (2.7 or 3), click and requests.


Drat is a recursive acronym which either stands for Drat is a Readability Analysis Tool or Drat is a Rabid Assessor of Texts.


This program has been developed by David Whitlock.


Drat is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Project details

Download files

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

Files for drat, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size drat-1.0.3.tar.gz (60.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page