Telegram analysis ✨
Telegram analysis is a python package that helps you have fun and make sense of different chat data you have. Based on pyrogram, its mission is to help you have fun with Telegram and it's functions. Whether it is about playing with your group chat dialogs or analysing the group dynamic of your business, personal chats or even your saved messages.
Be creative and build on top of ready solutions! 🧠
Current functionality (version 0.1.1):
✨🌠 wordcloud_json()Create fun wordclouds out of chats
💬🗣 who_breaks_silence_json() Analyze who tends to break the silence in the chats and write first
🤍❤ measure_top_reactions() measure who's messages are most reacted to and choose specific reactions!
Installation:
pip install telegram-anal
🛠 Setup:
This library uses Pyrogram for handling Telegram, so you will need to authenticate standardly by:
- Create an app and copy your api_id and api_hash from https://my.telegram.org/
Example:
import asyncio
from telenal.client import Client
from telenal.reactions import measure_top_reactions
from telenal.teleplotter import plot_bars_from_dict
async def main():
client = Client("my_account", "your_api_id", "your_api_hash")
tops = await measure_top_reactions(
client,
chat_name="Family chat :)",
search_emojis=["😁", "💪", "👍"],
)
plot_bars_from_dict(tops) # <-- get a bar chart out of the box
if __name__ == "__main__":
asyncio.run(main())
The library is newly born and needs creative and energetic support. Feel free to contribute!
Ideas for future functionality:
- Analyze your activity based on sent chatting to identify your chatting patterns
- Save messages deleted by someone that texted you and save the secret they wanted to hide
- Measure user profiles to identify persons' most popular tones (NLP may be needed)
- Predict when a user is prone to leave a community based on real cases (ML)
Remember to have fun! :)
This software is made purely for fun. Any illegal or amoral misuse of the software does not make the authors responsible for the consequences.
Yours, Vlad Bilyk
Metadata
Release files for telegram-anal 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| telegram-anal-0.1.1.tar.gz | 421.3 kB | Without provenance | Details for telegram-anal-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| telegram_anal-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for telegram_anal-0.1.1-py3-none-any.whl |
Total release size: 843.7 kB
Release files / telegram-anal-0.1.1.tar.gz
| Download URL | telegram-anal-0.1.1.tar.gz |
|---|---|
| Size | 421.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca4c65a5151bbfb183833371b60c5777257c42f275d234a08b4205d80bf3c2b2
|
|
BLAKE2b-256 checksum How to use checksums |
842875f7cb3e17a620fedf385f50f562c39f20520520b4b4a6794fde5220f028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.5 Windows/10
|
Release files / telegram_anal-0.1.1-py3-none-any.whl
| Download URL | telegram_anal-0.1.1-py3-none-any.whl |
|---|---|
| Size | 422.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29319f480806283ab497ddfaa54de6262f7087e5d676935f5bf4d35de377a6b0
|
|
BLAKE2b-256 checksum How to use checksums |
8d3363e16d58a02971ed4a4b85f22fc26f097c15cd1b80d0c154c3e20ff567a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.5 Windows/10
|
Security for telegram-anal 0.1.1
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.