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.27-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 324d1c6b7cb042ba2422ad9fc487b789fd98001112a0c7549d089d9f6ce4665d |
|
MD5 | 6153de0877099c66bac0dccd023489ce |
|
BLAKE2b-256 | e09108b6da7e972ef75f26deea1d4cacc726a6dd0878f5bd68a6a9b9be42dcf7 |
Hashes for techgram-1.0.27-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fed20397c8fd98f33f93630285d1ce07f2a90bca3fa932365c771144892e8aed |
|
MD5 | 9c73cfa487fa16188c921a08423b05fc |
|
BLAKE2b-256 | 5f1948362be85850e83b7f8d9ebe8901b782b0663d71ab2548437771dd9168c3 |
Hashes for techgram-1.0.27-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a672a2b33da60551afbbe415d9e378ba93d33978d0cf6eff20ce5b6b2db504 |
|
MD5 | 29e357cb97d12a9f28e8e236872fca2c |
|
BLAKE2b-256 | dc4e6b2f76cc9257a0e87f8db7771334ff0e4cada07f6dd301e729567c3a6080 |
Hashes for techgram-1.0.27-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a8fd3386a4273dbbd0b01c8ac3bdf88eedda5025d8414ffd06942f44e629ac |
|
MD5 | 500b8ed78ae98d4cdd097c102101581f |
|
BLAKE2b-256 | 9dd082bdd8d2e8b1db31db1ef7bbaa172c2c975b63ebc3153acfa54543ff2e59 |
Hashes for techgram-1.0.27-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ea6d21e57910d213f1919794440311b5d5d9ec7ac913cacbb3acdcfa1d4fd89 |
|
MD5 | afcac4f73a763a90b42c0fd76d306564 |
|
BLAKE2b-256 | 33e1706a6e3ca25c01c6f47657499c291fb96348a0ccf6510801a59d646df685 |
Hashes for techgram-1.0.27-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20e9a805b2be647a049538facc58ce026bb42ae570c9b5ba80f90128d39238c |
|
MD5 | 9b6defd9801f4094e7409c9c33abae6f |
|
BLAKE2b-256 | 978a5495f3a07598066bf8c2c9b0de24081cc384969b0d293dba1f681462f2f7 |