Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miniproto-0.0.1a0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miniproto-0.0.1a0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

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

Hashes for miniproto-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 80d03038674142d367da4f3323ea7c4b981662c23fdd9b258ee87885e52ebdd8
MD5 5900f34c2acdec9cfc40a19866f2ead3
BLAKE2b-256 65cf3bb66cfaf8c9c2be852084a5c1c9a7692cde20d903e4cebbe306a1234820

See more details on using hashes here.

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

Hashes for miniproto-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 725a384b551adbabba75a5fc067af15d8949c3a318c1dc1800967e86b7322742
MD5 492a7bac8be101db480825a7cf9126e4
BLAKE2b-256 7fd644a0c59ad597c5f835b3033ff5096b3843c1ae7f5ed9bc97c782aec6dc68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page