Skip to main content

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

beastx_python-1.0.2.tar.gz (245.2 kB view details)

Uploaded Source

Built Distribution

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

beastx_python-1.0.2-py3-none-any.whl (283.6 kB view details)

Uploaded Python 3

File details

Details for the file beastx_python-1.0.2.tar.gz.

File metadata

  • Download URL: beastx_python-1.0.2.tar.gz
  • Upload date:
  • Size: 245.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for beastx_python-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3b86101df050cea7f11d85a2741473d2ca1a2dbcf4671e1efb39539cc06eb856
MD5 8e4f91ebde117cc626b9860df52e5fcf
BLAKE2b-256 b5444ada1b07acf93f0f626f2ea88f96c897abd5ff27837c28a421437d8dad8f

See more details on using hashes here.

File details

Details for the file beastx_python-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: beastx_python-1.0.2-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

Hashes for beastx_python-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff833eb62830faae07855ba0713bf86e64eb2edc77e599267654c37538e3cca9
MD5 6611d29a1e26f487d894cb5a7ae77efe
BLAKE2b-256 4f1c3e424cbb4c3f4f63689bcdeeac0ba14c1ba633ed5ef464def8365fa1dc19

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