Parser and analytics tools for WhatsApp group chats
whatstk is a Python module for WhatsApp chat group analysis and distributed under the GPL-3.0 license.
:star: Please star our project if you found it interesting to keep us motivated :smiley:!
Tested on Python 3.7
pip install whatstk
Cumulative messages sent by day
from whatstk.core import WhatsAppChat, interventions filename = 'chats/example.txt' # [IMPORTANT] Choose header format accordingly hformat = '%d.%m.%y, %H:%M - %name:' chat = WhatsAppChat.from_txt(filename, hformat) counts = interventions(chat, 'date', msg_length=False) counts_cumsum = counts.cumsum() # Plot result from plotly.offline import plot from whatstk.plot import vis plot(vis(counts_cumsum, 'cumulative characters sent per day'))
Note: More examples to come soon.
We are very open to have collaborators. You can freely fork and issue a pull request with your updates! For other issues/bugs/suggestions, please report it as an issue or text me.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size whatstk-0.1.9.tar.gz (27.5 kB)||File type Source||Python version None||Upload date||Hashes View|