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.1-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5081b545af7c0326f2223d784de0e17cbd284eaff4952b22f9238e6c2ef82fa |
|
MD5 | 8e4b290a5e8309928bea51ce736d40f7 |
|
BLAKE2b-256 | d63f6e14559c886e62c3261d4e731cd6cb15312bfbe2c6c7655d671f56f275c8 |
Hashes for techgram-2.0.1-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8739d8ef86f6ca39bf17e9bc47c4e3047fb74ad57140d5cca556aa9eb07289d8 |
|
MD5 | 9c50a641f8955e6704530052c86b30c6 |
|
BLAKE2b-256 | 5aae083deadfe884759c94610d1bc657fc25923b943ae25cf434b31287606928 |
Hashes for techgram-2.0.1-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac43099ab16c2e296396c509580dbbb879ba92859fee6aa9fc92bf39302c0136 |
|
MD5 | 04e058f67ed39fca38d796b80d6b5c61 |
|
BLAKE2b-256 | 33224ce1edd869dc8caf4dca80d0a0028220393bc21046b0253d59d5357934a2 |
Hashes for techgram-2.0.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93adce591c396ca930f7d6861dc2aa09cf36d22c968e321ba6bc111deae7175c |
|
MD5 | 02860e710e10038854888174509ef8f0 |
|
BLAKE2b-256 | 1c314e580f275d700558d24e2321de850cc6c09676bd5b00b01e23935ad5a474 |
Hashes for techgram-2.0.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca79ffaa436ece1032d55703a034889440e7b8dd65267d5524e2433cd0cd92ff |
|
MD5 | fc9fe72a295afa0dfa10e09287adbce0 |
|
BLAKE2b-256 | 7ac2e9016b099af5b5e19a51800e9586794475e158a46f1957ec21261cf94358 |
Hashes for techgram-2.0.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebeccd62888397b48c951b1145cb599552c435a30997fd2e5ffccd2706745725 |
|
MD5 | d494fde119d9ac36ce81c0e4f7b0953a |
|
BLAKE2b-256 | d985b7b409f8b30b29158742224930606ae7f031c45ab66712e07a1d8277da42 |