Skip to main content


whatstk: analyze WhatsApp chats with python

Package version

Build Status codecov Python 3 Documentation 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

Getting Started

Export your chat using your phone:

Follow these 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

Find more examples in the getting started and examples sections.

Documentation

See official documentation.

Contribute

See contribute section.

License

GPL-3.0

Metadata

Release files for whatstk 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whatstk 0.3.1
File Size Uploaded Provenance Actions
whatstk-0.3.1.tar.gz 36.7 kB Without provenance Details for whatstk-0.3.1.tar.gz

Release files / whatstk-0.3.1.tar.gz

Download URL whatstk-0.3.1.tar.gz
Size 36.7 kB
Tags Source
SHA-256 checksum
How to use checksums
def6684d1ca2bfe8c1c36f64054f8003685e3b9e429fc260c0c2f45d07b1185c
BLAKE2b-256 checksum
How to use checksums
513eeb6fa44aae39d1b6948b3ed2628d0edaeb0365798ed5126c14e871d5b350
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.0

Security for whatstk 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page