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.29-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a6f3749eb3cdecdb8f69a8dcf7de64335a76a70379a531bd42ff7f2fb25034d |
|
MD5 | a549f88221f87a8fca99f4097dc43921 |
|
BLAKE2b-256 | 0df1a850a73fdac5e733d91172065bae11d2e84b5cc179900b635589fe128ea5 |
Hashes for techgram-1.0.29-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c4a1985b1a4e94e55a13c83ab9696bbd2b4ef634979eaabf3399c3af2a054d3 |
|
MD5 | 4306ba7c046cbd034e4a143e17eba102 |
|
BLAKE2b-256 | d7d34ce979da1842fce080af953bd5f14c10aad232d7755185f0f49de4fc5ea0 |
Hashes for techgram-1.0.29-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9f530cfae52d90b05b2ebd6b3a788b775ccf1666d79e78cd9d0a5f7c5ea855b |
|
MD5 | 6117e6a4cde82b0d7e4eeaf6ae5cfa54 |
|
BLAKE2b-256 | 62d4e378b9e0b3d2de01e89f077a29150d37e16c4add569608bda356fcc5c4f7 |
Hashes for techgram-1.0.29-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca80b232bf2ebbe728ece247dac2383de852a193b952967e0e95604035038ab2 |
|
MD5 | e555e89fcb8b0a66640a70a18d5b230f |
|
BLAKE2b-256 | cf46a0ca5b01eeb5b62cbb9e1a30c2f36e250ddda0eeaf15687a12967a5660ca |
Hashes for techgram-1.0.29-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9606ee5d4ec782694c5fdfa3d3f0b98d5737180abbebd559f83cbca4cf9651f |
|
MD5 | 5ea52cd09087d32ddb124327310d0698 |
|
BLAKE2b-256 | 07d9151966d5147b572aa3e1504f4c231c5d915d2de1348a217d328379bffdcc |
Hashes for techgram-1.0.29-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7594236e891296b0ac1f06bed85e54e919c41a24fa122d483a64ca070b42f191 |
|
MD5 | 9b3aaf660dfb03b39af6981045e01ed1 |
|
BLAKE2b-256 | 49bf568c9b30e51f885dfb98aa5fab669ca907f2af47aa44acb4c3a2ca2d8afa |