miniproto 0.0.1a0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 EDM115
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.4
2
+ Name: miniproto
3
+ Version: 0.0.1a0
4
+ Summary: Async-first MTProto client core for Python with bundled Rust acceleration
5
+ Project-URL: Homepage, https://github.com/EDM115/miniproto
6
+ Project-URL: Issues, https://github.com/EDM115/miniproto/issues
7
+ Project-URL: Funding, https://github.com/EDM115#support-me-
8
+ Author-email: EDM115 <miniproto@edm115.dev>
9
+ License: MIT License
10
+
11
+ Copyright (c) 2026 EDM115
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a copy
14
+ of this software and associated documentation files (the "Software"), to deal
15
+ in the Software without restriction, including without limitation the rights
16
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17
+ copies of the Software, and to permit persons to whom the Software is
18
+ furnished to do so, subject to the following conditions:
19
+
20
+ The above copyright notice and this permission notice shall be included in all
21
+ copies or substantial portions of the Software.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29
+ SOFTWARE.
30
+ License-File: LICENSE
31
+ Keywords: asyncio,mtproto,pyo3,rust,telegram
32
+ Classifier: Development Status :: 2 - Pre-Alpha
33
+ Classifier: Framework :: AsyncIO
34
+ Classifier: Intended Audience :: Developers
35
+ Classifier: License :: OSI Approved :: MIT License
36
+ Classifier: Programming Language :: Python :: 3 :: Only
37
+ Classifier: Programming Language :: Python :: 3.13
38
+ Classifier: Programming Language :: Rust
39
+ Classifier: Typing :: Typed
40
+ Requires-Python: >=3.13
41
+ Description-Content-Type: text/markdown
42
+
43
+ # miniproto
44
+ A minimalistic MTProto library to interact with Telegram
45
+ 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
46
+ 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).
47
+ Also doesn't implement stars, webapps, admin features, ... Concentrating on the core : sending & receiving messages, media, files, polling for updates, ...
48
+ 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.
49
+ 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.
@@ -0,0 +1,7 @@
1
+ # miniproto
2
+ A minimalistic MTProto library to interact with Telegram
3
+ 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
4
+ 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).
5
+ Also doesn't implement stars, webapps, admin features, ... Concentrating on the core : sending & receiving messages, media, files, polling for updates, ...
6
+ 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.
7
+ 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.
@@ -0,0 +1,29 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "miniproto"
7
+ version = "0.0.1a0"
8
+ description = "Async-first MTProto client core for Python with bundled Rust acceleration"
9
+ readme = "README.md"
10
+ requires-python = ">=3.13"
11
+ license = { file = "LICENSE" }
12
+ authors = [{ name = "EDM115", email = "miniproto@edm115.dev" }]
13
+ keywords = ["telegram", "mtproto", "asyncio", "pyo3", "rust"]
14
+ classifiers = [
15
+ "Development Status :: 2 - Pre-Alpha",
16
+ "Framework :: AsyncIO",
17
+ "Intended Audience :: Developers",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Programming Language :: Python :: 3 :: Only",
20
+ "Programming Language :: Python :: 3.13",
21
+ "Programming Language :: Rust",
22
+ "Typing :: Typed",
23
+ ]
24
+ dependencies = []
25
+
26
+ [project.urls]
27
+ Homepage = "https://github.com/EDM115/miniproto"
28
+ Issues = "https://github.com/EDM115/miniproto/issues"
29
+ Funding = "https://github.com/EDM115#support-me-"
@@ -0,0 +1,5 @@
1
+ def main():
2
+ print("miniproto is WIP")
3
+
4
+ if __name__ == "__main__":
5
+ main()