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.0-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b2cb572ba73ead5fe08c0a2d1a40b9a63ad3a8ec407224ef49928eec6a63f7 |
|
MD5 | 5c38e7a6bcf536ee3665f8501f0c3058 |
|
BLAKE2b-256 | fd9f4a3a531f48714ae673a2e2add23b7720c1214954466b1365105ea5cd1d36 |
Hashes for techgram-2.0.0-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 214a22550dcc3ef1d599051c07b19be87b7efba0cca2c70d989defec6c0872f7 |
|
MD5 | a05389556b8ac8bf822c067880e2335e |
|
BLAKE2b-256 | 9d0c460351de7d07542f28a22c6f935485ca71505fd3f143dce4435a9cced55c |
Hashes for techgram-2.0.0-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb0e280b23e52fa8b7c31bd6b8fc634adad6551d009c9c9bbcb1e788b0a06383 |
|
MD5 | 4835bcccbeee1dffeda512d8726c0129 |
|
BLAKE2b-256 | 4664013a36ff13bced1bdc4a6e439737dd6f7acf0af542aff0adeaaa3ea31bea |
Hashes for techgram-2.0.0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54797f17903d076921f7e9f5adb62985abc30dc47e6171f33c51cfa9a93cd3f2 |
|
MD5 | 5ef03f1cd6e5082aacdbeea002fb177e |
|
BLAKE2b-256 | ba2fdec32a303ac66cc06076f5220c62ac9d0ff20934fef28840e476b0a5df88 |
Hashes for techgram-2.0.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4adea5f6e6a4b3b9e0e7f0d0a5b7519eb304a94fcb9afe394928b2c54dc916d0 |
|
MD5 | 584f6bbaecfacff15aebea57f1066a4b |
|
BLAKE2b-256 | 1608a3486d3f30a95debd8b198a45954c4a6dfc41992562eaa16f6aa9b1f9403 |
Hashes for techgram-2.0.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285b4675b555b6c2b5219009bf9c20c230e704998a681e773af0c1524b3bcf3b |
|
MD5 | 28fa369e5db4787785d263df68e883f8 |
|
BLAKE2b-256 | 9ab0b9672b17969c182acafcbe170e0a81928fae67c57d2ad52bb886b5849f26 |