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.4-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a742c15d93fd25d11318a49d4254bb287218291afa864782f72faa3f902af73 |
|
MD5 | 8edf132775340f050e9b2d3f16e5b3f8 |
|
BLAKE2b-256 | c9feaf9f6bd58a176387efb8b85718ff75f048a95f55f2a693cf8f38ebc6a532 |
Hashes for techgram-2.0.4-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9c1421c9d367abc6d6c5d6aa0ee1349d2316ed23cbd0ba08f91701a1494b3e6 |
|
MD5 | 35de39c991d9fb9451cdeeed9f3195b4 |
|
BLAKE2b-256 | e1fd392793c5e70f11e1a9f182e64a67b9b977e479f0c6cc8eedbf5cbfd53243 |
Hashes for techgram-2.0.4-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95bff9f4533d0a8c081bdc98f14029b374e40cbcf83e60a92b4a0ec8e06c5cfb |
|
MD5 | fda965caca9628b8899ab5165e6346fe |
|
BLAKE2b-256 | 02875a72b2a480c60797c2088ed1305a48f521bf82f36348b6fe06d4bb2a7606 |
Hashes for techgram-2.0.4-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a33204545a7da8d9e800662363d0a881c81d2f1dfcdda9aebed64bb1cd84f83 |
|
MD5 | 4ff479fb12d98fb7857e6749c356940a |
|
BLAKE2b-256 | 927bcb2e06cb66a6a7053bfca29b5088e6d05e74c1af9620441c4a9d667e67fa |
Hashes for techgram-2.0.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603942d7f95dab7671e70c65301045105521646760f406c95d4bcb773d33b447 |
|
MD5 | a634830c67e20c1050c0be183590ffed |
|
BLAKE2b-256 | 2b21231943b41a0bea232aa459898798f2bbbb4a8245e2ab32f0f083c4582314 |
Hashes for techgram-2.0.4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 673cbbf101326a96f55f778f7566bb6f5e2d1e99f7b5b5562e0dc95b4d180f46 |
|
MD5 | 01a7808cd75bd35784248c50ab9d0d39 |
|
BLAKE2b-256 | 7abfbe22eefec02bde66d2c1404bb3e43045c0d4064a936e611159a478e4e722 |