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.32-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d685d390005fd174b0fbe05707736b81def9bc796dd82b439c4044bd7f51ba20 |
|
MD5 | 2a8882b2fe2c0a72bf7bf31a4486bccc |
|
BLAKE2b-256 | 22f6bdd09ff185b923dafdaedc1fca524044fad207704b8b73933875e9002146 |
Hashes for techgram-1.0.32-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f175a9096ff96fcb784721667df153944e385886315e23da7fc5daecc80cecf |
|
MD5 | 71725ecb9b7cf777cd42b83daf165cb8 |
|
BLAKE2b-256 | 317f9c5fb80ce58eaaf05404055793feeb1d137c0bb0bb241a4e9f3088f10b8a |
Hashes for techgram-1.0.32-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d6645f27fda2cf3286d7f354b1f9b9bad37e7e775ea78487cf2ad52332dce74 |
|
MD5 | 35826e8a078e5a2cffb7489becbff0af |
|
BLAKE2b-256 | 3509b06866807a73696518333e666771ea3a19ca711ba1b33b80cb61f76b8abc |
Hashes for techgram-1.0.32-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4510b4a2175cc708bf218358e5b23e244be0fe84583d68b34ad4b3773c3ae895 |
|
MD5 | 03646a3bf95958bcc676a6d21922970e |
|
BLAKE2b-256 | 3853cc47a94739aa35d0b7e6a9c14c962e6da75da7d2ac06098cb5ec26f25f7c |
Hashes for techgram-1.0.32-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55805009e6423d0217cabc42faab2fbeb2692ae4b824bb2dc9616896056b6633 |
|
MD5 | 5c23cb68bddf7bd3d115fab2b46d6665 |
|
BLAKE2b-256 | 21fd7e303a5365c30765c0b326f41150e047410501d92d7c9f3e69ab271c654f |
Hashes for techgram-1.0.32-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 049e7854a03b407315a7a88b4adb42f2e2d7d21404580d71e4bd1fcc7212617a |
|
MD5 | 2ce52d916c199521d70ddae194e569cb |
|
BLAKE2b-256 | 318f2db520afdcbfae462201e2db669c25f0191cead07b34fb0d7dc598a8683e |