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.2.tar.gz (5.4 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.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file whatsappchattodf-0.1.2.tar.gz.

File metadata

  • Download URL: whatsappchattodf-0.1.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.16

File hashes

Hashes for whatsappchattodf-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d34d4802d49c1feb9eccd30b11a73a86ba30287b01e9cc07b4379c67889effe2
MD5 812ff63d43a27a6b2bc72e005d9a5cf7
BLAKE2b-256 6a514cdc192d81d82a543638ceeb267cb5b57b612134022546c4b7f305079e44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whatsappchattodf-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e8d3715d791d610e22b608255e8acdb48d6c891b49ac2aa7c6327ddbd93f7e6
MD5 2a89fc5862c2bec5863e27d2384ee523
BLAKE2b-256 a64c6902647a121610b7e86b174eecc360c73d631c0792a6b22e6bed1b9118ff

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