Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
Project description
Telegram MTProto API Framework for Python
Homepage
•
Documentation
•
Releases
•
News
Pyrogram
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
from techgram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from Pyrogram!")
app.run()
Pyrogram 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.
Support
If you'd like to support Pyrogram, you can consider:
Key Features
- Ready: Install Pyrogram 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 techgram
Resources
- Check out the docs at https://docs.techgram.org to learn more about Pyrogram, get started right away and discover more in-depth material for building your client applications.
- Join the official channel at https://t.me/techgram and stay tuned for news, updates and announcements.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for techgram-1.0.22-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d67041db96df0754aa5a7103d4f8bc654278c9cd531243722463c6c0d0b60458 |
|
MD5 | 41294fbff768b0269b17c5fcde6c5ad0 |
|
BLAKE2b-256 | 22492dbb1ca58ce92a9408a6621973a7b7abca387698b19fd634cd9373f85c2c |
Hashes for techgram-1.0.22-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf2122f9f556cfc8ed13215f5513d826bedbac7222c2a68363bed1d4746d3fd2 |
|
MD5 | c29843fe9aa58ceb10fcaa6f7bf56191 |
|
BLAKE2b-256 | c4ebd7b4a83877aa5ae5f89bd1f551c1cb5fb5880ea03e20533d71ebe539ec48 |
Hashes for techgram-1.0.22-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22d9deddc8a2c15cd705cd8aab3ddc37d5dba2933d1b279c25a228c495442148 |
|
MD5 | 3c821929e9731dde8b01a443e7054b51 |
|
BLAKE2b-256 | 17d4669c01f89f416b9b34a9e9655aa28df5417835e8e27fcc3d99a372f1e186 |
Hashes for techgram-1.0.22-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f999876a79ad209b86e163ba11a33882d21c7a2be39d52bd5a0b29481f71936 |
|
MD5 | 3da31d04ee082186501892b5a0f5c0da |
|
BLAKE2b-256 | 31dbb46c00e4dc177423f7392e0cd8d9de17d24753344fac51e2c9f67c113526 |
Hashes for techgram-1.0.22-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1de4ddf8d9f3aeb9f6859981337194f0749d841433b8779cac8cbff4c1ba84b6 |
|
MD5 | fb614ede5e776b0a5cf42461a416dacc |
|
BLAKE2b-256 | 59e8b32778cb701b4bfba0de24af4eb17335d966365308dba069e8c18550f32b |
Hashes for techgram-1.0.22-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 200a2d32060279d3c64df6c23ad0b0fa86cf33b6e10919c630eab5746db07edd |
|
MD5 | 12f8c2c8677dae60d0366bece897ac4f |
|
BLAKE2b-256 | d8dd77fb7318d16e8791b06ce4bd9e9c10fee73000dc21c7c0e20dff4166ea6b |