lexical-diversity
python package for calculating famous measures in computational linguistics
Comprehensive Python toolkit for stylometry
Readability (LIX) and lexical diversity (TTR/MATTR) with the parameters other implementations hardcode
An easy-to-use library to extract indices from texts.