Skip to main content

Parser and analytics tools for WhatsApp group chats

Project description

whatstk: analyze WhatsApp chats with python

Package version

Build Status codecov Documentation Status Python 3 Number of downloads HitCount GitHub license Join the chat at https://gitter.im/sociepy/whatstk


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 😄!

Content

Installation

pip install whatstk

More details here

Getting Started

Export your chat using your phone:

See instructions.

Convert chat to csv

Easily convert your txt chat file to csv using command whatstk-to-csv.

$ whatstk-to-csv [input_filename] [output_filename]

Load chat in python

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)

More examples

See more in sections getting started and examples.

Documentation

See official documentation.

Contribute

See contribute section.

License

GPL-3.0

Citation

Lucas Rodés-Guirao. "whatstk, WhatsApp analysis and parsing toolkit", https://github.com/lucasrodes/whatstk

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

whatstk-0.4.1.tar.gz (37.2 kB view details)

Uploaded Source

File details

Details for the file whatstk-0.4.1.tar.gz.

File metadata

  • Download URL: whatstk-0.4.1.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.7

File hashes

Hashes for whatstk-0.4.1.tar.gz
Algorithm Hash digest
SHA256 56c17aec5403319d7742cdfd07203211b67af8090cb4e8b218f0c0408e18e3b4
MD5 ed4dc88bb6c55a90af26d0a2964f5d65
BLAKE2b-256 97f302e5d0f3994e9a097c1a81b0a80ee285c0399b649e8ce5249225da57c9d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page