Skip to main content

Parser and analytics tools for WhatsApp group chats

Project description


Package version

Build StatusGitHub license GitHub stars GitHub forks

whatstk is a Python module for WhatsApp chat group analysis and distributed under the GPL-3.0 license.

The project was started in December 2016 by lucasrodes and albertaparicio.

:star: Please star our project if you found it interesting to keep us motivated :smiley:!


git clone
pip install .

Getting Started

Cumulative messages sent by day

from whatstk.core import WhatsAppChat, interventions
from whatstk.plot import vis
from plotly.offline import plot

filename = 'chats/example.txt'
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(vis(counts_cumsum, 'cummulative 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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for whatstk, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size whatstk-0.1.4-py3-none-any.whl (16.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size whatstk-0.1.4.tar.gz (15.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page