Async-first MTProto client core for Python with bundled Rust acceleration
Project description
miniproto
A minimalistic MTProto library to interact with Telegram
Inspiration from pyrogram & its forks (https://github.com/Mayuri-Chan/pyrofork, https://github.com/KurimuzonAkuma/kurigram, https://github.com/eyMarv/pyroblack, https://github.com/hydrogram/hydrogram & https://github.com/TelegramPlayGround/pyrogram), Telethon, but also https://npmx.dev/package/telegram, https://npmx.dev/package/@mtcute/core, https://npmx.dev/package/teleproto & https://npmx.dev/package/@mtproto/core
Probably going to be in Python. If not, they it should be "reachable" through Python code (idk how but maybe we can write the lib in Go or Rust and then access it from Python).
Also doesn't implement stars, webapps, admin features, ... Concentrating on the core : sending & receiving messages, media, files, polling for updates, ...
This library will heavily focus on speed, performance, and low memory usage. It will be designed to be used in a server environment, where multiple clients can connect and interact with Telegram simultaneously. If written in Python, it should be compatible with the latest version's features such as no-GIL mode. The lib should be async by default, have a proper documentation and type hints. It should also be modular, allowing users to only import the parts they need.
Generation of methods could reuse the telegram schema generators made by previous projects. Inspiration from TgCrypto for the speedups (https://github.com/Mayuri-Chan/tgcrypto-pyrofork) should be taken and built-in the lib.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miniproto-0.0.1a0.tar.gz.
File metadata
- Download URL: miniproto-0.0.1a0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80d03038674142d367da4f3323ea7c4b981662c23fdd9b258ee87885e52ebdd8
|
|
| MD5 |
5900f34c2acdec9cfc40a19866f2ead3
|
|
| BLAKE2b-256 |
65cf3bb66cfaf8c9c2be852084a5c1c9a7692cde20d903e4cebbe306a1234820
|
File details
Details for the file miniproto-0.0.1a0-py3-none-any.whl.
File metadata
- Download URL: miniproto-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
725a384b551adbabba75a5fc067af15d8949c3a318c1dc1800967e86b7322742
|
|
| MD5 |
492a7bac8be101db480825a7cf9126e4
|
|
| BLAKE2b-256 |
7fd644a0c59ad597c5f835b3033ff5096b3843c1ae7f5ed9bc97c782aec6dc68
|