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.23-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d41cd9e7cbab47842c1ba3a979f598cd5208a7568698975c6884ff2b95909473 |
|
MD5 | 843887248d956404f862efa579931b44 |
|
BLAKE2b-256 | 849f0e6df0b6ba68e6d411806044c8f378c3386a1186e9241daeed1c351e4025 |
Hashes for techgram-1.0.23-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8e90226a66777c2174ec5a8ea0adfde5966801d65b615e278857a013d0520e7 |
|
MD5 | 3589a1e3c67a20ff182ee5176b1657b1 |
|
BLAKE2b-256 | c666578b71b460974f50b04e2ea920c47c0b79eb62b6f91362c913c8459c6611 |
Hashes for techgram-1.0.23-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2c3361e6653c7da13dae06813f6bdfce5ae30747a5b36eef2b8731b69e27fed |
|
MD5 | 404b6cb244538cd8849dc13d0d0d10ee |
|
BLAKE2b-256 | 7a86e70b5187719a8bf47bb7bbe55f2fd72ae86d2b1403e3f60ee2fb01ac141d |
Hashes for techgram-1.0.23-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 647990c6e9a94adacd87d95e4b3d00e6caf4e72d65a0c3e7586a088a9539abd0 |
|
MD5 | 0919cc59aa48096af1f21fbd9672ed88 |
|
BLAKE2b-256 | 0e423805a5ebb948a2dad3c9a250b648e8b60d6ba4bf9576ed88002808346265 |
Hashes for techgram-1.0.23-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a98b43727fc641bbf3fde0a60397991fe24ec60e290f1c0ec27e8a527dd6638 |
|
MD5 | a0e4833ce6a354d02b014d968f42b1f1 |
|
BLAKE2b-256 | a016fbe3a4341224462dc5000602fb216010e5d13c41fcbb57bda6e1bd1e5797 |
Hashes for techgram-1.0.23-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63ab8a899d137354e7dc64247b0b15bec46c339c86e37fe8b40a0052c5218e5c |
|
MD5 | ffb3ee0bc5a31776c5406d2d546da5b5 |
|
BLAKE2b-256 | 073855933e08b8a1e20a572a1bb8819b45a3cab93aedbe337554a1a5610ee2c5 |