Skip to main content

Drat

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

Features

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.

Use

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

Dependencies

Python (2.7 or 3), click and requests.

Name

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

Author

This program has been developed by David Whitlock.

License

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.

Metadata

Release files for drat 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drat 1.0.3
File Size Uploaded Provenance Actions
drat-1.0.3.tar.gz 60.8 kB Without provenance Details for drat-1.0.3.tar.gz

Release files / drat-1.0.3.tar.gz

Download URL drat-1.0.3.tar.gz
Size 60.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9eebb5c07c99f511f993fa681b6ed0e12217c6684a7807158243727f654ee59d
BLAKE2b-256 checksum
How to use checksums
1648c8f71f56f0714c5731c3325ff35721c8cba18b0424eea320f6807abf88fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for drat 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page