A powerful Telegram client library inspired by Telethon
Project description
BeastX - Powerful Telegram Client Library
BeastX is a modern, feature-rich Python library for interacting with Telegram's API. Built with inspiration from Telethon, it provides an intuitive and powerful interface for building Telegram bots and userbot applications.
Features
- 🚀 Easy to Use: Simple, intuitive API similar to Telethon
- 🔄 Async/Await: Full async support for modern Python
- 📡 Event Handlers: Powerful event system for handling updates
- 💾 Session Management: Multiple session types (file, string, memory)
- 🔐 Secure: Built-in encryption and secure session storage
- 📦 Auto Dependencies: Automatically installs required packages
Credits
BeastX is heavily inspired by Telethon by Lonami Exo. We thank the Telethon team for their excellent work and API design.
Installation
pip install beastx-python
Quick Start
from beastx import TelegramClient, events
client = TelegramClient('session_name', api_id, api_hash)
@client.on(events.NewMessage(pattern='hello'))
async def handler(event):
await event.reply('Hi there!')
client.start()
client.run_until_disconnected()
For more information, visit our documentation.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file beastx_python-1.0.1.tar.gz.
File metadata
- Download URL: beastx_python-1.0.1.tar.gz
- Upload date:
- Size: 245.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd9902378903def2d09cd4355e0fc2da11c2b29da8fb994574faa3d72f891e6b
|
|
| MD5 |
a1a8786016e86d7686d6dfc9263136ff
|
|
| BLAKE2b-256 |
48e3b0d1aac1c0259c618e2fcdb59bb30a936214b2259124b27759d476425169
|
File details
Details for the file beastx_python-1.0.1-py3-none-any.whl.
File metadata
- Download URL: beastx_python-1.0.1-py3-none-any.whl
- Upload date:
- Size: 283.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
379ca855a6451310a872a3b3efcc8d07cac0022983716588e7c919063db45fb9
|
|
| MD5 |
25c14b70eade667b4e878614eb375661
|
|
| BLAKE2b-256 |
71de455d409b138dd1b3d03f6194ecbffec9a587dd5146e6859d653ee7daa4d6
|