Skip to main content

Basic Version library

Project description

Whatsapp Analyzer

A data science-based package that aims to provide insights and analysis on your WhatsApp chat data. Using this package, you can easily import your WhatsApp chat history and visualize the data through various charts and graphs. The package allows you to analyze the most active users in the chat, the most common words used, and the frequency of messages sent at different times.
Whether you're interested in analyzing your personal chat history or conducting research on communication patterns, the WhatsApp Analyzer package provides a user-friendly platform to visualize and interpret your chat data.

Installation

pip install whatsapp-analyzer

Getting Started

The library is intended to perform data analysis on your group chats or individual chats that can be downloaded from WhatsApp using the proceedure below:

Go to WhatsApp Chat > tap More options (â‹®) > then More > Now tap on Export chat > Choose whether to export without media > your chat history as a .txt document will be available

Reading the Data from .txt File:

from whatsapp_analyzer.read import read_txt

data = read_txt("ENTER THE PATH OF THE CHAT FILE")

""" To visualize the data in file"""

print(data)

Pre-processing the Data from .txt File:

In order to perform data analysis and visualization on the data it needs to be pre-processed in a way it is understandable to derive the relationships amongst the parameters.

from whatsapp_analyzer.preprocessor import preprocess

preprocessed_data = preprocess(data)

print(preprocessed_data)`

Visualizing the Data from .txt File:

There is wide range of options provided to analyze the chat history:

  • Number of Messages:

      from whatsapp_analyzer.stats import message_count
    
      message_count(preprocessed_data)
    
  • Number of Media:

      from whatsapp_analyzer.stats import media_count
    
      media_count(preprocessed_data)
    
  • Number of Words:

      from whatsapp_analyzer.stats import word_count
    
      word_count(preprocessed_data)
    
  • Number of Links:

      from whatsapp_analyzer.stats import links_count
    
      links_count(preprocessed_data)
    
  • Most Busy User:

      from whatsapp_analyzer.stats import most_busy_users
    
      most_busy_users(preprocessed_data)
    
  • Word Cloud:

      from whatsapp_analyzer.stats import create_wordcloud
    
      create_wordcloud(preprocessed_data)
    
  • Frequently Used Words:

      from whatsapp_analyzer.stats import most_common_words
    
      most_common_words(preprocessed_data)
    
  • Frequently used Emoji:

      from whatsapp_analyzer.stats import emoji
    
      emoji(preprocessed_data)
    
  • Monthly Timeline:

      from whatsapp_analyzer.stats import monthly_timeline
    
      monthly_timeline(preprocessed_data)
    
  • Daily Timeline:

      from whatsapp_analyzer.stats import daily_timeline
    
      daily_timeline(preprocessed_data)
    
  • Weekly Activity Map:

      from whatsapp_analyzer.stats import week_activity_map
    
      week_activity_map(preprocessed_data)
    
  • Monthly Activity Map:

      from whatsapp_analyzer.stats import month_activity_map
    
      month_activity_map(preprocessed_data)
    
  • Activity Heat Map:

      from whatsapp_analyzer.stats import activity_heatmap
    
      activity_heatmap(preprocessed_data)
    

Project details


Download files

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

Source Distribution

whatsapp-analyzer-0.1.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whatsapp_analyzer-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file whatsapp-analyzer-0.1.0.tar.gz.

File metadata

  • Download URL: whatsapp-analyzer-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.7

File hashes

Hashes for whatsapp-analyzer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a36dca86b23fe6663f6bb8cf401bb1fa1aa47c638406559d8ee328abcd7fbd2
MD5 54a9594da64aadfd379beff51b42a6b1
BLAKE2b-256 7a7c4dec3dc4dcc5a180a79ac39e9e4407eace31eda9544fc1cbecd1c2667044

See more details on using hashes here.

File details

Details for the file whatsapp_analyzer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for whatsapp_analyzer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48d7b9e5e77bb1832e37cc51f1bbe05898ce71abb7380ee883696c75d534ec63
MD5 9397512f9f63c16a92753b949f4afb82
BLAKE2b-256 9bda492b080a4c3c386d640b73e33dc220387c45b6f131d459873ef53c617e65

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