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.24-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f91dc08be13397396816de8ac192c87f12e8f7a85a92e73d158f336bc60e0663 |
|
MD5 | 51edaac95b638e595e6640615b4905c5 |
|
BLAKE2b-256 | c2efcdefda7e92a25172204cf353194d75902df073ebd853d8aa19294d1e4de8 |
Hashes for techgram-1.0.24-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d247d4c329f840752563f6e077ec7359a724a4faa4dad9930a60aa585b5221 |
|
MD5 | 8ea20d3fdcabee58de1082d69b785db0 |
|
BLAKE2b-256 | d78f1cfb320a800c8cd4e94b47ce2249f3a5f8398548f805fa95e1eb9703cd7d |
Hashes for techgram-1.0.24-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5a7d0b3cc2b6a1f5392d3df1ac6dd07614b92b6f460435496f5e98ef5645ffb |
|
MD5 | 34d4f5563e2c3b521ea9460aa3199317 |
|
BLAKE2b-256 | a122737278cb37ab784dc3736f504a4656da1b39fedff3c6f95385a082bb14b9 |
Hashes for techgram-1.0.24-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0006af42667e21dba6592a7950cf865b61d7bc9e4df65ea7ce641de51b48941d |
|
MD5 | ab0f96dda9d4a172cee99a509e6f2841 |
|
BLAKE2b-256 | f12b1b600b7f94af26788d0ce1c435df61c5b2e4f4a4ad1e4314299adce58590 |
Hashes for techgram-1.0.24-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e9be9dab99c4b6ac549a08ce24b5dd7e67b8e5e23700f324b5d87e61cc3b6f |
|
MD5 | 5790cb9da6f69812ba12896751d2e171 |
|
BLAKE2b-256 | 99b9e95cf5d00415f8066746c22d197cdb843309eb97576a29784265174acfc4 |
Hashes for techgram-1.0.24-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be60cb685823b61ce9656e051f54f50f569aa00bbb2c204483e99ae6f67bb59a |
|
MD5 | bf5050a551bc810e30c3a9941983423e |
|
BLAKE2b-256 | ea380b322867c9a858746651af14a3eda59b79383b41f778dd0198831e670327 |