Skip to main content

Parser and analytics tools for WhatsApp group chats

Reason this release was yanked:

Not operational, use 0.1.11 or latest instead.

Project description

whatstk

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

Installation

Tested on Python 3.7

pip install whatstk

Getting Started

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.

Contribute

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


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.1.9.tar.gz (27.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: whatstk-0.1.9.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for whatstk-0.1.9.tar.gz
Algorithm Hash digest
SHA256 f7010f0a9cb140f20b897d22becd1a2a81a11fa451a44ec499da394446f8681d
MD5 c1dd4ddc39d1d7f3e78d703f579a5d29
BLAKE2b-256 ee6378d955b5e96189582ed4efe3233307c5d02154e52fadc783d7fcbda8fe88

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