A Python program to extract and analyse exported WhatsApp chat data.
- Ensure you have Python 3.10 or higher installed on your system.
- Clone the repository.
- Install the required dependencies using the following command:
pip install -r requirements.txt
- Export the WhatsApp chat data from WhatsApp.
- Unzip the exported WhatsApp chat data.
- Initialise the
WhatsAppAnalyser
class with the path to the unzipped directory.from WhatsAppAnalyser import WhatsAppAnalyser path_to_chat_data = 'path/to/chat/data' analyser = WhatsAppAnalyser(chat_data_path=path_to_chat_data)
An example of how to use the WhatsAppAnalyser
class is shown in the example.ipynb
file.