Allows you to make wordclouds for your Whatsapp Chats
Project description
Overview:
Chatclouds is a wordcloud library which allows you to create and save a wordcloud of your whatsapp chats. The library uses wordcloud library to generate images. The preprocessing of the text from the txt files are already taken care of. The only thing you need to do is to extract your chat from WhatsApp and then using that file in your python code.
Importing chatclouds:
import chatclouds
Functions:
- show()
Code:
from chatclouds import show show(filename) # filename needs to be the name/ path of txt file containing your WhatsApp Chat.
What it does: show() function returns an image of the WordCloud that has been formed from the chat after preprocessing the text and removing all the stopwords.
- save()
Code:
from chatclouds import save save(filename) # filename needs to be the name/ path of txt file containing your WhatsApp Chat.
What it does: show() function saves a .png image of the WordCloud that has been formed from the chat after preprocessing the text and removing all the stopwords.
- plot_time()
Code:
from chatclouds import common plot_time(filename) # filename needs to be the name/ path of txt file containing your WhatsApp Chat.
What it does: plot_time() function plots and shows a bar plot of number of messages on the y axis and 1 hour time slots on x axis.
- common()
Code:
from chatclouds import common common(filename) # filename needs to be the name/ path of txt file containing your WhatsApp Chat.
What it does: common() function prints the 20 most frequently used word in the chat between two people.
Change Log
0.0.4 (23/11/2020)
Fourth Release
0.0.5 (24/11/2020)
Fifth Release
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
File details
Details for the file chatclouds-0.0.5.tar.gz
.
File metadata
- Download URL: chatclouds-0.0.5.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce4e77a26b70ffeea256c72cc0ff9dc9767f8191a9c0d4f039e3ecc50a1dd572 |
|
MD5 | f99a38ea0dbf3b449a4b74f7779cf10f |
|
BLAKE2b-256 | 158e1af7def72f44b837a54eae78ed960a121520ef30b4a3d50ec9c2970d57f7 |
File details
Details for the file chatclouds-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: chatclouds-0.0.5-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18d353b5a91b5c99371097cdb35e2221003572740b504ca554d47a6702f26129 |
|
MD5 | 11e88dd29f83310ff1c543cc558a3181 |
|
BLAKE2b-256 | 26cba5d2c70d8cfdfa18614d6cf4fec5a544d08b1cc31743784289632cc0c1a2 |