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-2.0.3-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d11f24b6446bcd18c73f34a993c5cee0859087edf63f183d90d69d6d2d5ea3f |
|
MD5 | a1b5a980ef00a0a65561fc894184f19b |
|
BLAKE2b-256 | c110f0081fa1d478ca602d9292d53920bd64acc536102d4edf3dbb998ee88860 |
Hashes for techgram-2.0.3-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b36821668963461d9fea25bdac025a76ee19c00a25bce1cc35b8702f22feb414 |
|
MD5 | 8726b8693b86c24058d3f55649f221d9 |
|
BLAKE2b-256 | b7b1272bb3fe4adb5d0d9f53604aedb7945ff9ed7b37c590e0a3a2e19ba48038 |
Hashes for techgram-2.0.3-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5338687b58548e3a6daf9ceff8dedc32b7b6038ca854ad78fba8c42f369654d |
|
MD5 | b136b0d1c947715bfc0cbd206c6e2ebe |
|
BLAKE2b-256 | 517d900ec8e1c95ff9c41c460ddfd72ca39a5efd8cd3efe0bf7f03611a2e2f74 |
Hashes for techgram-2.0.3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 764ef27dba63f5dab42aa1b90be08ff73b759465535f885d87599f296211e757 |
|
MD5 | 53743e1c66fc1715c664b16d1c7d6c30 |
|
BLAKE2b-256 | 8ea0787c2c5529fb781b6d32ebb1f5be9d62981517a987f1a9674b8722c32e27 |
Hashes for techgram-2.0.3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e42fcb46330659b672fec9f0363c6a64358843241ce21ac7eaa68b5c2fe95aae |
|
MD5 | ad7c8119ea9acf9be315b6cdc57073c2 |
|
BLAKE2b-256 | c455a58fa3c15c9b18610a188391c4144c084d2af6828865fbaaf7dbe21c2b58 |
Hashes for techgram-2.0.3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83372910eb572401c894934c72585b45ffdf04ba025f3b5003697027438fcc7b |
|
MD5 | a17f3cffaeaef53dbfe43aace3b3aac5 |
|
BLAKE2b-256 | 3ec9ada66062c4cd8b023ce09f251c276a0968c59918452c33d85e03491ca2b1 |