Convert WhatsApp chat logs (.txt) to a pandas DataFrame.
Project description
WhatsappChatToDF
WhatsappChatToDF is a Python library that converts WhatsApp chat logs into a pandas DataFrame for analysis.
Directory Structure
WhatsappChatToDF/
|__ whatsappchattodf/
| |__ __init__.py
| |__ whatsappchattodf.py
|
|__ tests/
| |__ __init__.py
| |__ test_whatsappchattodf.py
|
|__ LICENSE
|__ README.md
|__ setup.py
|__ pyproject.toml
Build and Publish in PyPI
- Install dependencies
pip install setuptools wheel twine
- Build the package
python setup.py sdist bdist_wheel
- Upload to PyPI (need an account + token)
twine upload dist/*
Installation
pip install whatsappchattodf
from whatsappchattodf import WhatsappChatToDF
chat_to_df = WhatsappChatToDF("path_to_whatsapp_chat.txt")
df = chat_to_df.run()
print(df)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whatsappchattodf-0.1.3.tar.gz.
File metadata
- Download URL: whatsappchattodf-0.1.3.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e650ecb68dcb678085189505fc882f7d06b8b06ad526f633d949f7d290ab06fe
|
|
| MD5 |
dfb7504be27085d5b1ce7c55199e5320
|
|
| BLAKE2b-256 |
fc16ae0e8594d747e7be7811c41a24415d33d01f78c28868f347eaeb86e36855
|
File details
Details for the file whatsappchattodf-0.1.3-py3-none-any.whl.
File metadata
- Download URL: whatsappchattodf-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e85b25fed7a5252f31c86e2d63cab37f1d421be5eff40d876b13ed31f9803cab
|
|
| MD5 |
6b068d64682764b7afb663d562d6f372
|
|
| BLAKE2b-256 |
529e02c98f128f95c0e596609cdc6d221d1bea7a10bb42b5f51e3f4422658bb7
|