Skip to main content

Introduction

The purpose of the package is to help you to visualize the chat messages from a Telegram Chat Group. It is still in development and the features are not extensive. As of now, there are 4 main features in this package (with hopes of more being added)

Installation

pip install TeleVisuals

Usage

from TeleVisuals import TeleVisuals as tv

Functions

Clean Data

tv.chat_clean(json_file_path)

This function allows you to clean the json export from your telegram chat. The output is a cleaned pandas dataframe with your messages organised by "from", "time", and "messages".

Visualise most commonly used words and custom words

tv.common_word(dataframe, no_of_words)
tv.custom_words(dataframe, list_of_words)

These functions allow you to visualise words used in your chat. The common_word function will allow you to select how many words you want to visualise while the custom_words function will allow you to input a list of words that you want to visualise.

Visualise user replies and user responses

tv.user_talk(dataframe)
tv.user_replies(dataframe)

These functions allow you to visualise the number of times each user spoke and the number of times each user responded to another user. Good to see who is the most talkative one amongst your friends.

Dependencies

Pandas: Self-explanatory (who doesn't need pandas?)

plotly.express: To enable the visualisations

json: To parse the json file from Telegram chat export

Metadata

Release files for TeleVisuals 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TeleVisuals 0.0.2
File Size Uploaded Provenance Actions
TeleVisuals-0.0.2.tar.gz 3.0 kB Without provenance Details for TeleVisuals-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for TeleVisuals 0.0.2
File Interpreter ABI Platform Actions
TeleVisuals-0.0.2-py3-none-any.whl Python 3 none any Details for TeleVisuals-0.0.2-py3-none-any.whl

Total release size: 7.0 kB

Release files / TeleVisuals-0.0.2.tar.gz

Download URL TeleVisuals-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1735be746352ed4a6e0adcf9c63bd4bf131c27bf9fe160d4cb016e0052a5ff40
BLAKE2b-256 checksum
How to use checksums
c8a0c059a0e42fe378e331abec5a925ea46df7079a9fad2558341f00c3dae98a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / TeleVisuals-0.0.2-py3-none-any.whl

Download URL TeleVisuals-0.0.2-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f98669fd9cc3c94260d647dc61ebe0ba9fe1ad82991064fc9e0730ae4fd699f7
BLAKE2b-256 checksum
How to use checksums
daa1aa7f2a883ea9098b153c403e40f8a213af754f733e5edc379e5776dbaa65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Security for TeleVisuals 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page