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.31-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b8dfcebdc2b55ac9d2a52721212759759a41881432a1454c0f39180e3c76e5e |
|
MD5 | 5bfb959744cbdf772d76b0954106c8b0 |
|
BLAKE2b-256 | 5491b5ac9ee4aeee5227c1c44a829732140e25eec3a37fe7d62670dad06b7fa9 |
Hashes for techgram-1.0.31-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0d7bae6e524e836cc379e80fbccdd24cd5cdde4b1fd7711c75589dd7a09aa6e |
|
MD5 | 76715ffebf2342cd8dd55a474a2e0cab |
|
BLAKE2b-256 | 09326b27cd4e06bd2dcf2df7d807a1116e1fc74deb16dfe415e7accfc5f48570 |
Hashes for techgram-1.0.31-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10460185b57dff43ecb4f880e1900aacc269a916e9f1fed63acc58c03ee15760 |
|
MD5 | 23885bd45044800f7be76fe0aafa7ab7 |
|
BLAKE2b-256 | 239d6a616f14a522ac69f2728046c701b92fe6914ce19344cb3a0a6aa9b444f9 |
Hashes for techgram-1.0.31-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbb546a1ec97dde182f67bf723d8d88acde1b94e40cb3ab9f6ade9fc6613cd51 |
|
MD5 | 54040827a28be41820b33ee62cbda494 |
|
BLAKE2b-256 | 1c15beae0dcf9708cb5086177a463618939069531156c15b73b5c5359f8d6be2 |
Hashes for techgram-1.0.31-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a90cabe1145fd67cbbe18f5c9a20b5edad9a8711e4786b12d806fc7934dc73f |
|
MD5 | 6ee75d797a3f87fec3d0641b00e8846d |
|
BLAKE2b-256 | 7aea71d256edacf5bdc353796f933b2930c095f27cd6f7a8a49cb90322705799 |
Hashes for techgram-1.0.31-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88dfbad956155cc60ee953fe0d3092e1d1177f476be6e320ad8335746ea5396d |
|
MD5 | d92705044491a2d2cd7da7ff3c7ab3c7 |
|
BLAKE2b-256 | 6c124ef844e7ccc8c554c3048ee8ad9167b0dc45a058c73ecca91e5b32eccd8b |