Skip to main content

Chat text cleaning library (slang → meaningful text)

Project description

BlobChat

A lightweight Python library for transforming raw chat text into structured, meaningful data.

BlobChat helps you clean, analyze, and convert chat conversations (like WhatsApp, Messenger, etc.) into useful insights — similar to how pandas works with tabular data.


🚀 Features

  • 🧹 Clean and normalize chat text

  • 🔥 Remove emojis and unwanted symbols

  • 📊 Word count and basic text analysis

  • 🧠 Simple, chainable API (like pandas)

  • ⚡ Lightweight and easy to use


📦 Installation

pip install blobchat

⚠️ Currently under development. For latest version:

git clone https://github.com/p4prince2/blobchat.git
cd blobchat
pip install -e .

🧪 Quick Example

from blobchat import Chat

chat = Chat("Hello BRO!!! 😄🔥 How are you?")
chat.clean().remove_symbols()

print(chat.text)
print(chat.word_count())

Output:

hello bro how are you
5

🧠 Planned Features

  • 📂 Read chat files (WhatsApp, etc.)

  • 👥 Detect users and messages

  • 📅 Extract timestamps

  • 📊 Convert chats to DataFrame

  • 📈 Analytics (top users, word frequency, etc.)

  • 😊 Sentiment analysis


🏗️ Project Structure

blobchat/
├── src/blobchat/
│   ├── __init__.py
│   └── core.py
├── tests/
├── README.md
├── pyproject.toml

🧑‍💻 Development

Clone the repo and install in editable mode:

git clone https://github.com/p4prince2/blobchat.git
cd blobchat
pip install -e .

Run tests:

pytest

🤝 Contributing

Contributions are welcome!
Feel free to open issues or submit pull requests.


📄 License

MIT License


👨‍💻 Author

Prince Kushwaha
GitHub: https://github.com/p4prince2

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

blobchat-0.1.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

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

blobchat-0.1.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file blobchat-0.1.0.tar.gz.

File metadata

  • Download URL: blobchat-0.1.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for blobchat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 73ce932e3f2b5d688d5c810208fecc2660e16eb60aad71634ae985a8585e1c24
MD5 15985690b733e296a48fa0d8af8608ef
BLAKE2b-256 1c4830facfb292a539b794a2b538df01d281a0089d7ced14bc46cfacbba026fa

See more details on using hashes here.

File details

Details for the file blobchat-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: blobchat-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for blobchat-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 850c068be776fd8f38ff101c1ad2ca83dc2bf1e04d7a34fff4d4788bed36a3b1
MD5 a193f61157395c996c366465e9f4488b
BLAKE2b-256 b62d3bf86b70f8606626f531b42ed47542ade5cf38c0a6b85c0dcbf653874587

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