whatstk is a python package providing tools to parse, analyze and visualise WhatsApp chats developed under the sociepy project. Easily convert your chats to csv or simply visualise some stats using the provided command-line tools or python. The package uses pandas to process the data and plotly to visualise it.
It is distributed under the GPL-3.0 license.
⭐ Please star our project if you found it interesting to give us some dopamine 😄!
pip install whatstk
Follow these instructions.
Easily convert your txt chat file to csv using command whatstk-to-csv
.
$ whatstk-to-csv [input_filename] [output_filename]
You can also load the exported txt file with python.
from whatstk import WhatsAppChat
from whatstk.data import whatsapp_urls
chat = WhatsAppChat.from_source(filepath=whatsapp_urls.LOREM)
Find more examples in the getting started and examples sections.
See contribute section.