langdetect
Malayalam Detect is a fork of langdetectThe main reason to fork was to have performance improvements.
Usage:
from malayalamdetect.malayalam_detect import cleanup_malayalam_sentence
print(cleanup_malayalam_sentence('പർവ്വനങ്ങൾ തേടും! What a feel! 😘😍😍😍🎶🎶💞💞💝💕'))
output
പർവ്വനങ്ങൾ തേടും!