Giter VIP home page Giter VIP logo

whatsanalyze's Introduction

WhatsAnalyze

Chat Analyzer and Statistics Script for Whatsapp individual chats in Python

Installation

Requirements

You need python up and running on your system to run this script. Download and install from Python

Additionally, you need matplotlib and urlextract python libraries installed. Install them using pip.

pip install matplotlib

pip install urlextract

Usage

Getting the chat file from WhatsApp

  1. Open WhatsApp on mobile
  2. Open the chat you want to analyze
  3. Click on the three dots menu on top right
  4. Select More > Export Chat (Choose Without Media for more statistics)
  5. Move this txt file to your PC

Running the Script

  1. Simply copy and paste the txt file in the directory of the script
  2. Run the python script using the command python [path_to_script]/whatsanalyze.py
  3. Follow instructions to get results (A demo txt chat file has been added to verify the results with the name chat)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please find the chat.txt file as a sample chat file. I've intentionally added two media files, two links and multiple line messages in this file. Files and Links are of two kinds each.

Please make sure to update the tests as appropriate.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.