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.25-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d0e2770c7724fbd646c3c55406abe75355032cc2b8538c3713eae38ff2f4d2d |
|
MD5 | 891e37ab41c73cac9bae2eba2f7890dc |
|
BLAKE2b-256 | 56500d927ffb8d7e506f3ce7ff3c1a6e49d2803eed90cb5fd3465a2c3304cdf2 |
Hashes for techgram-1.0.25-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1e1ec8209be6e0c210715ca923aa6e5b63f13c117a17a6cee815696bb42a837 |
|
MD5 | 0781831970727c31e7c2b6f1f205ed32 |
|
BLAKE2b-256 | c89fb2b1c8089ad6a36ddcb0442dbac4dd7eeb29a7eb1f523815c4096cd98ac1 |
Hashes for techgram-1.0.25-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8438063477e2c0f791b941b79c9cc1e1f89a244b4e0bc4901750d242e7b810f0 |
|
MD5 | f4ea4ecbb148280ba9fe6e7164560c18 |
|
BLAKE2b-256 | dab7d984c9930e26133aa7e3f6c64a7d00ffe63a6c78e68985929f00c94e3e6b |
Hashes for techgram-1.0.25-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0e3d94ada97d57c73ceaaea1e0e51bbf762ad09affa51184ecc66a080924ecb |
|
MD5 | f4faf8b2d815338816038b3f8aaca6a2 |
|
BLAKE2b-256 | 3e85fd3c81e9b29c2db59920648fbf994b4dc1d327a528771a3c47147c22a0c1 |
Hashes for techgram-1.0.25-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9585a385e578faef2485d7f3dbc97921a895bb467871c8f6062a82ddf264aa0 |
|
MD5 | d05f1369591948e74005231b9dda9c0f |
|
BLAKE2b-256 | daa470257d7d7d7f34011a1c3d8ea60fd403108603ff082cf06a158e6bea2f1b |
Hashes for techgram-1.0.25-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af673230e0563f9e46e5fd97bc0f1f4982e0d1512de28b7bcef4c28393ba4b1b |
|
MD5 | 2b861cd395c0e2417dc0e2bbe75d1e14 |
|
BLAKE2b-256 | 8cd99a13fe7d6eb82902a7cb58d3144e5697ca2ed3aa63acd2567c00e29b90b6 |