[!IMPORTANT] I want to say thank you to Pyrogram and its contributors for the inspiration and base code. This project is a fork of Pylogram. This repository will contain many of incompatible changes with original Pylogram and not positioned as drop-in replacement. I will not answer any question about this repository and it's code. Issues are also disabled.
Pylogram
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
from pylogram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from Pylogram!")
app.run()
Pylogram is a modern, elegant and asynchronous MTProto API framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot identity (bot API alternative) using Python.
Key Features
- Ready: Install Pylogram with pip and start building your applications right away.
- Easy: Makes the Telegram API simple and intuitive, while still allowing advanced usages.
- Elegant: Low-level details are abstracted and re-presented in a more convenient way.
- Fast: Boosted up by TgCrypto, a high-performance cryptography library written in C.
- Type-hinted: Types and methods are all type-hinted, enabling excellent editor support.
- Async: Fully asynchronous (also usable synchronously if wanted, for convenience).
- Powerful: Full access to Telegram's API to execute any official client action and more.
Installing
pip3 install pylogram
Release files for pylogram 0.18.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylogram-0.18.0.tar.gz | 1.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylogram-0.18.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 MB
Release files / pylogram-0.18.0.tar.gz
| Download URL | pylogram-0.18.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24118ee5aa9fb4cb3480e7409cb155270e18cf43e3377b26bcff1a5356a22797
|
|
BLAKE2b-256 checksum How to use checksums |
57e5565f2eaeb757af82781cb0d4137c1b9d6b47cd44071bf848170b85bf792b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pylogram-0.18.0-py3-none-any.whl
| Download URL | pylogram-0.18.0-py3-none-any.whl |
|---|---|
| Size | 4.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fe164846aea1ca5814c870ab0b7acee9085a0849d3630a0d5f6a9a4fa915e46
|
|
BLAKE2b-256 checksum How to use checksums |
4099e91b785257a2bdd7cc35f3e4f3f076d92dbcfe4df0a775530f6a211b999c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|