Skip to main content

Convert WhatsApp chat logs (.txt) to a pandas DataFrame.

Reason this release was yanked:

Use 0.1.2

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: whatsappchattodf-0.1.1.tar.gz
  • Upload date:
  • Size: 5.5 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.1.tar.gz
Algorithm Hash digest
SHA256 1dd1644c6fe7bc0a1ec023209381b1d762fb19cbd2139f3ebabe49b4f6e8dc0a
MD5 c96aca31e71ccf773a494ce4a6b2cdeb
BLAKE2b-256 c983b4bcbbd99d0ca07498d985382b1016202776e9a2ebc91af5736cd8283d76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whatsappchattodf-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0aa5a94436750b7a089d8dce45b73a1ea641d7e23e1392dff506235acd77ec1
MD5 629c74d3c29d7955a1ea80a7164786ae
BLAKE2b-256 e61d27ecd20aeda6bccd22728d0b5875e3d2ebc5e9c6bc8a89306493e1799be6

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