Skip to main content

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

  1. Install dependencies
pip install setuptools wheel twine
  1. Build the package
python setup.py sdist bdist_wheel
  1. 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


Download files

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

Source Distribution

whatsappchattodf-0.1.3.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

whatsappchattodf-0.1.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

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

Hashes for whatsappchattodf-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e650ecb68dcb678085189505fc882f7d06b8b06ad526f633d949f7d290ab06fe
MD5 dfb7504be27085d5b1ce7c55199e5320
BLAKE2b-256 fc16ae0e8594d747e7be7811c41a24415d33d01f78c28868f347eaeb86e36855

See more details on using hashes here.

File details

Details for the file whatsappchattodf-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for whatsappchattodf-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e85b25fed7a5252f31c86e2d63cab37f1d421be5eff40d876b13ed31f9803cab
MD5 6b068d64682764b7afb663d562d6f372
BLAKE2b-256 529e02c98f128f95c0e596609cdc6d221d1bea7a10bb42b5f51e3f4422658bb7

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