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.21-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d5fe890713616e851807f8e415c11985825795f81426c3506df53d812462f2 |
|
MD5 | bcf0c373d1b1933c38a02571695ddedb |
|
BLAKE2b-256 | e4ac7837b6238dab69fa9f35f59b8bff06e1fc39d61c15ce413b268776876dbd |
Hashes for techgram-1.0.21-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1099202c6d0d9b4c478c12c8b1a039c0fe9fdcd3fe5c8facbb7843f41e1d925e |
|
MD5 | 1275ea50008c41b0f7230d2469259387 |
|
BLAKE2b-256 | e952a9546d8d7b7d7f906226ab9364c443debb718cc4e4fd1cff86c109b5a59e |
Hashes for techgram-1.0.21-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30755c983700227d90f42a7e94446b465ee8ffd20ea1b62436b839bff5128a1f |
|
MD5 | 47dff6b23e7ffab631543c6557cf6d76 |
|
BLAKE2b-256 | 8aeb3cec85912c7ec2fcc5e45d7335ac9802968ad116ee5786f6c4f2c381006d |
Hashes for techgram-1.0.21-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 786308c2bb809eac84e06bad26cbf8b3c48bf9f10086ab3043a91b8f1be743a2 |
|
MD5 | a26f449ffe85f45aa2d3e80461ad8163 |
|
BLAKE2b-256 | 4d1ed3cbd4d7506ce91f0b2264cf02f2b696fb8ec3738c73893ecd204988f398 |
Hashes for techgram-1.0.21-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e21071d51013d647e1633feba5ef7b418b32a56ddda0bb74d05bf45f90e78e6 |
|
MD5 | 51e3c20e9f11910bfde8eb0455fee36a |
|
BLAKE2b-256 | 8482dc85473a82c87174f5c007569798594dc0714d4c731d1b8905f9caf8da5c |
Hashes for techgram-1.0.21-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a51f1e6455ef4eeefd0472ef9d699560c24007421cfd527a348b7672ffc46b |
|
MD5 | a9df646f6f5533a571665936b4debfa3 |
|
BLAKE2b-256 | e6a3061e6fd4af7ae8b9b875a0f984db255fe1d1a5861c38049e6dc9f951b62e |