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.6-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba3a71a717830306298ace87173689f8067a6b125b218de43d031796c5c6071c |
|
MD5 | d99d5137fae13d3ee40ca9bffab61e3b |
|
BLAKE2b-256 | eaa48a1ae7a8346f1594cc8866f6333f90ad52607e0586e79aed9306e435f8e0 |
Hashes for techgram-2.0.6-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a4202ee317ddb5690667f3c90ead3a3e9ed30450984c6db77b19579e660e0fb |
|
MD5 | 5f770c2bd329225914030ff2b6053182 |
|
BLAKE2b-256 | e0cc0c0f68e7cf40b001bf4059a5b0a1f284cbebc9f25bf5039584bb8abc9b15 |
Hashes for techgram-2.0.6-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed9763d5e9381bb4994ab6491675e39242be048200c4e86c459561e308fdfbee |
|
MD5 | 72f64cd3f5019fa048412f0f2ab8c70b |
|
BLAKE2b-256 | 271008f2d5cfcbfc7274c178a305d7d9899888da83e3d67b6b1ed23fada911e8 |
Hashes for techgram-2.0.6-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 727005e5b8c55db2d0a5f98e146f0b87c2ad1f1c8deaaab13746002613e47b63 |
|
MD5 | 2bbabfb5cf1c85478a184c5e18ff68fb |
|
BLAKE2b-256 | 8d2ad95d3805a4b830597f17af27162694695cce9811738151432309f2d97a73 |
Hashes for techgram-2.0.6-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80d3ecd952a46e7b26af238f9c2e3bd01e6b266788437706ebda3998b2344b34 |
|
MD5 | 34ec94d56a0456a2bf32fe224810b560 |
|
BLAKE2b-256 | 433ccf672650445a669fa3bc8670ba649bf7eec382c4370a9d0769777d152daa |
Hashes for techgram-2.0.6-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37744c9225842b0b14f599b3dc4fdfbf3d73c1df4b3486b7c6a9da93bf208211 |
|
MD5 | f3550a538ea89d20f7beacc71185deaf |
|
BLAKE2b-256 | 74992d34e978ab0452bc06ddfeb20287e66817ee427104ac843a8846427a3cc1 |