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.28-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6355c3ba6ead5c2fb1b22bc199111d72b65c5dfa3dc106d84a11e5794e527232 |
|
MD5 | 22845223e8ad8b646b693ec66b8e8fc0 |
|
BLAKE2b-256 | e8daac6e56ded8059ca8be1b088970c0c87f4f20c0c1f2d53bcaff0b570f09f8 |
Hashes for techgram-1.0.28-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfef760c458496acac1c0a7a464a05a15319f32d04226df866d9295dcefd386f |
|
MD5 | 57e1e641c2e3a43977234d16cdfa32a9 |
|
BLAKE2b-256 | c5f95101f79f0c87ed466a17ed919170827f17c9696ff15de556f7b5cd244385 |
Hashes for techgram-1.0.28-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d767a2c29384312bbecd01c38ecbf6bce4ef143821ca09f2729bafd62d913b |
|
MD5 | 0fea5401af53375e6ae7d92ab0e03821 |
|
BLAKE2b-256 | 4268aef3c0a4c8f203ed5a2446318d416fa428163bf45c1f0df867ef3f38d8ec |
Hashes for techgram-1.0.28-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dac557c437568102b48b1dfccc4e6801e43d60ef104cdecb2463705fb5d6469c |
|
MD5 | 4673ddb7a7f0054da454d44d8221adab |
|
BLAKE2b-256 | 8ae5589cebb2cb6314728f79bcf7bfbf0a82dca8ee01d948de3025698a07bb64 |
Hashes for techgram-1.0.28-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69a564ec7202f23b7230b70b26f48f01adc1339a984330f23ea24af828cec27a |
|
MD5 | d850edd04fd8b5a413f05cd98b9e5673 |
|
BLAKE2b-256 | d6d0e7fba1b3e20776a4657d0647588927ffdc8b75ffa60941fdcd97067baece |
Hashes for techgram-1.0.28-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ab1034677e824c67e623151c349a8326bb69e5cfe77006648e5af72a7ee7b5 |
|
MD5 | 8c9d9d8ff52934c2735328ec10deda57 |
|
BLAKE2b-256 | d4c65ebe2516d7bfbc2cb2ffb3a6a361306d2fa6dcd4ce7b18293ddfc5d44dc0 |