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.30-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee1b5a35fa09537e135cce9cdae6bdca83673e91f59158a0e78fcfe7786b03ac |
|
MD5 | 8062a2a4430179c62e9a4501cff22775 |
|
BLAKE2b-256 | a2b8e4a6f5cd34801174bee78626b2ea7e4960aefb6ebe1ed34ac267048853bb |
Hashes for techgram-1.0.30-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2455f10499132553d69f3f24f551b2acf3e873d2a68c8d3f1a9355d5b54437a |
|
MD5 | 01de47c17e1af9edca20a836c848ca3e |
|
BLAKE2b-256 | 7a97cef4bf9a7fa3891a7195dd5e0cc31809cb08e6570cf1d7c230214c210553 |
Hashes for techgram-1.0.30-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5f82553e56c6a4ac1151849ce1f83d9d9fd3b82d23647f454b0bc1ffff70558 |
|
MD5 | 87a4493c47e6579f31f9d668fe02e6b1 |
|
BLAKE2b-256 | 89e86b5b4ba928422236ea13e23fade0214f632025dd89901ff3bac223fc04d9 |
Hashes for techgram-1.0.30-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b848cb9bab6c177dd7949b3a37c211a082b75d80ebaf7f4525cebfcc5b53576 |
|
MD5 | d9076c8a5b817106fa6b670166221938 |
|
BLAKE2b-256 | 1da89a4212c83bd9d7f0e86dcf6f50236d0a24a8e70d1328f12ab2f5db4a2b97 |
Hashes for techgram-1.0.30-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec3e8fca42cf442d0c864e1477d09f2e1245ff38938d86e043f7dd5fb1f798f6 |
|
MD5 | 819834d4deba9ffca1ac9f85928da7a3 |
|
BLAKE2b-256 | 35c0a3e5d31f1d1475dd450fe29559ba9cc2a2bdc71ff9c50482ec8f9f8ab255 |
Hashes for techgram-1.0.30-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44682fabf6cd068c21765f4abfdf2e2b58845471f5892ce70a092fc9a8ac45c9 |
|
MD5 | 853fdedad81abb87b7507badf2b77bf4 |
|
BLAKE2b-256 | eb7929d1597648b34ad3e796e66369d24d625ab3f8cb37570c16347972f475be |