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.2-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ad95b704818e26b744711399919d1ea812fe9a32b35376b25e2f5bf61681497 |
|
MD5 | 41ee07c52da437c590fb9f483cab8141 |
|
BLAKE2b-256 | 10f0917eef58548e9e9e53dcd18bafd49dcfc83c30b810d37445ecbc91a11245 |
Hashes for techgram-2.0.2-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25acfabdf41f9b19262276c1225910c31d915e3da5d550db21d3e5eb95d2aec6 |
|
MD5 | 46063fb95ac80c6dc62565d06e860424 |
|
BLAKE2b-256 | 97d5ee7c7d7345ff99b7b9397f8f19be358d0f2632cb116d6d9f9d59dfd0ed91 |
Hashes for techgram-2.0.2-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8d9540382037deeef2f9f1904480998dfa0dc7888029a163a8fe59ea931ad52 |
|
MD5 | 7c948ae427de99bdcd9369913f6082dc |
|
BLAKE2b-256 | be59159f4c5289f8358ff924d3a2fd83b6360405dceeed26f123c79b81c2c78b |
Hashes for techgram-2.0.2-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f7d5cc9812b5f0144cc7fb5c606e2c422e283f3cc8df8856bd868637cdc1de |
|
MD5 | da39fc25e24ba05ccc7c916d5501f010 |
|
BLAKE2b-256 | a4d4e366297c91c165f4a819e08e69ba4c73d0f69d6b6faec08e814c9bc712a7 |
Hashes for techgram-2.0.2-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34e466767c5e2c95c43e81fae4a9f2b10ba8b698c57574f2a705f6e595faedfc |
|
MD5 | 54f980be5ae450ff8a46c1d24acff0fb |
|
BLAKE2b-256 | 3ca648e3f22b157bf8d5ffd48577e7cf95d9fa80a4690c2a80128bd4f8ebb1e6 |
Hashes for techgram-2.0.2-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f11167a868a5e81d7172e4758968932c241822333bf95022bb5095f8955014b9 |
|
MD5 | 0eb126d509a75d239170da0aa1317cbf |
|
BLAKE2b-256 | 7d5f25b401682af8d000113f90047387d9205b59fa53b3ff28a0459340f73afc |