Skip to content

Analyze whatsapp log files! WIP: Add a web server functionality

Notifications You must be signed in to change notification settings

jeiros/whatsappy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whatsappy

Some simple functions to parse whatsapp log files into pandas dataframes.

Installation

Clone this repo and pip install it locally

git clone https://github.com/jeiros/whatsappy.git
cd whatsappy
pip install -r requirements.txt
pip install .

alternatively, use the Docker image

docker run -it --rm -p 8888:8888 jeiros/whatsappy /bin/bash -c "jupyter notebook --ip="*" --port=8888 --no-browser --allow-root"

Example

Email yourself a copy of a conversation log file. Save it as a .txt file.

Load it into a pandas DataFrame like this:

from whatsappy import get_all_lines, parse_lines_into_df
lines = get_all_lines('path/to/your/file.txt')
df = parse_lines_into_df(lines)

now go do some analysis.

About

Analyze whatsapp log files! WIP: Add a web server functionality

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published