ferogram.dev / ferogram-py
PY

ferogram-py

A modern, elegant, asynchronous MTProto framework for building Telegram clients and bots in Python, powered by a high-performance Rust core.

Python v0.5.3 MIT OR Apache-2.0
pip
pip install ferogram

What it does

  • Clean, Pythonic client API on top of a compiled Rust extension
  • Networking, encryption, TL parsing, and session management handled entirely in Rust
  • Composable filters for message, callback, and inline query handlers
  • Inline and reply keyboards, polls, media, and forum topic support
  • Drop down to the raw MTProto API with functions or api imports when you need it
  • Prebuilt wheels for Linux, macOS, Windows, and Android/Termux, no Rust toolchain needed
Explore the workspace