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.5-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 533b09fd366b312193bbedea82636aee6f23fa2bdaea20b46c2b5699f85b6568 |
|
MD5 | 93e008a07e3678deca537c8525229885 |
|
BLAKE2b-256 | ea34c542676162fa0e60fc81e20f1ad71a05f8347dcbfd78e70572db6fe37fc9 |
Hashes for techgram-2.0.5-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | becb925019cebae1686198e98c63fcbb90a7f07cffa0675b518c9d7edfb00c5b |
|
MD5 | 39a8f8978c2765cdb9e1a1b56429a47c |
|
BLAKE2b-256 | f60cde0cd1f52271d559a383abd3efafac6830ba4a890242ace9caebc74865ea |
Hashes for techgram-2.0.5-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 704ee2b0d74edcf2e40884751c75b6875a8f561ddc32ae969189a5db5600f34c |
|
MD5 | f6b22096a337b18bd7e352e34e68ec5c |
|
BLAKE2b-256 | 02ffb4b5ed0c14277c9d6864ac76d5a9b208fc38bd029438ec2ce6f3a6499d01 |
Hashes for techgram-2.0.5-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d8e5ab1c45b73d064765d77951efe69ddc74c8fcf38976963876074456a2333 |
|
MD5 | e5620da966955d68c1279c6d8a932e4c |
|
BLAKE2b-256 | 8fb05540031fa326beb5cb037baf1b15b641dcc2f0e43a9adac79fa6d63340c3 |
Hashes for techgram-2.0.5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00eb7201e35275204ec8ac2ca89289b50e4f1c7ceeb7d64b6c24467009c2e913 |
|
MD5 | aabb51ed7ab6f7a7ab00b04b5035a737 |
|
BLAKE2b-256 | a70b2a3dae400aec0fbafef30843e4d34718eb84b8317ab64bb84097b7047356 |
Hashes for techgram-2.0.5-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57117c08d3e2ecfe75f83aad1cd95e64e93252a6d1a1ad659f17133c42cca034 |
|
MD5 | 24face12d5a69c9ea3b37bf86f6c7220 |
|
BLAKE2b-256 | 710dd4d7919957f0fb920383c6ea2122861974fcab79796142d9c8dc6ca1a7a2 |