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.26-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86b1ee9f72b7229bfe85dd0f1643ded1ad3e28bd4ef10035f8fa695d4200253b |
|
MD5 | 9bd62292212f71480e40e4dc00e5d896 |
|
BLAKE2b-256 | ab515ee8e361f07818c548f4730e402d3ada99c2c8589315eacf8b94793eb561 |
Hashes for techgram-1.0.26-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddbc7db31030c4b9156e142d65f5c3ae192a14af6f18244451d5f403a11c8857 |
|
MD5 | bf802de9e156600ab341c291a2497fb8 |
|
BLAKE2b-256 | 1231d03ea29ce40f26ed6ed6d964422ded8a042c1419ea6aa248baea49372bf9 |
Hashes for techgram-1.0.26-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 131ee8eee248b58d92c521143da3be2e959572a7da484537cd48e523f9c85020 |
|
MD5 | a633faabd0ef982deec140b66ea60ad7 |
|
BLAKE2b-256 | c6c6ab277a87827ec7e74c11a4a53b6836c7b34928b05ca867a913d6efc53978 |
Hashes for techgram-1.0.26-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae9c52930dc76ff5868ad3b18613b2c0bf0d70d69c3aca1fbaff8117b46674fc |
|
MD5 | c07a26756ed3afffa8844b09892370d6 |
|
BLAKE2b-256 | 0406cc5f30464110302278bd8903db9de8872c6438ae98935493ef3d89b5fa6b |
Hashes for techgram-1.0.26-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ebbbfd68335fdfaeb316b161330e846a8ab866facacdaaa6d1edad71d9f3e0 |
|
MD5 | 9775988d70f0819162a2ce8613909cad |
|
BLAKE2b-256 | e6b68311d0acfea9eb9a25e8bd1e61c710c69c54d0a84299b060650273b8f9ba |
Hashes for techgram-1.0.26-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c3a2462926734ed7f23cc4fabde3630f6ba8fbc2a2e01f1c5ee9890836efe29 |
|
MD5 | a22b4f836c614f47cb2a8b3c14b5ebfb |
|
BLAKE2b-256 | 49cee2b3d46b54ea259ae88d050be00b3600752f4f5523121fecf042f873dd25 |