RubigramClient 1.6.9__py3-none-any.whl → 1.7.0__py3-none-any.whl

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.

Potentially problematic release.


This version of RubigramClient might be problematic. Click here for more details.

@@ -1,8 +1,29 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RubigramClient
3
- Version: 1.6.9
3
+ Version: 1.7.0
4
4
  Summary: A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters.
5
5
  Author-email: Javad RZ <MrJavad.Email@gmail.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2025 Javad
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
6
27
  Classifier: Programming Language :: Python :: 3
7
28
  Classifier: License :: OSI Approved :: MIT License
8
29
  Classifier: Operating System :: OS Independent
@@ -11,9 +32,11 @@ Description-Content-Type: text/markdown
11
32
  License-File: LICENSE
12
33
  Requires-Dist: aiohttp
13
34
  Requires-Dist: aiofiles
14
- Requires-Dist: pydantic
15
35
  Dynamic: license-file
16
36
 
37
+ <img src="http://rubigram.ir/Rubigram.jpg" alt="Rubigram Logo" width="200"/>
38
+
39
+
17
40
  # Rubigram
18
41
  A lightweight Python library to build Rubika bots easily.
19
42
 
@@ -22,7 +45,20 @@ A lightweight Python library to build Rubika bots easily.
22
45
  pip install RubigramClient
23
46
  ```
24
47
 
25
- ## Send Message
48
+ ## Quick Example
49
+ ```python
50
+ from rubigram import Client
51
+
52
+ bot = Client(token="YOUR_TOKEN")
53
+
54
+ @bot.on_message()
55
+ async def echo(client, message):
56
+ await message.reply("Hello Rubigram!")
57
+
58
+ bot.run()
59
+ ```
60
+
61
+ ## Reply and Edit message
26
62
  ```python
27
63
  from rubigram import Client, filters
28
64
  from rubigram.types import Update
@@ -104,3 +140,17 @@ async def main():
104
140
 
105
141
  asyncio.run(main())
106
142
  ```
143
+
144
+ ## Rubino
145
+ ```python
146
+ from rubigram.rubino import Rubino
147
+ import asyncio
148
+
149
+ async def main():
150
+ auth = "YOUR_AUTH_ACCOUNT"
151
+ async with Rubino(auth) as app:
152
+ info = await app.get_my_profile_info()
153
+ print(info)
154
+
155
+ asyncio.run(main())
156
+ ```
@@ -0,0 +1,15 @@
1
+ rubigram/__init__.py,sha256=yyPILotyVazCcf1qrKEu_67yYsvLGns2oJlSfLmvhd8,152
2
+ rubigram/client.py,sha256=XKP6b_JS7XlPYtqDndh5ZxaaxMis8icPmu9Wyk6JNLQ,7334
3
+ rubigram/enums.py,sha256=maI0tD9hQz6QUbjiAmBzMowfZbj1ao-6LqkYybSpbFY,2841
4
+ rubigram/filters.py,sha256=5NjyYLeSkDqGLGjQ_FsEgvaXqy6ZC73PEL3-_ei6B0g,6987
5
+ rubigram/method.py,sha256=auj9LOjDEK5mumndctHMbMMvjRvslusLNnJjmV-uPmo,14311
6
+ rubigram/network.py,sha256=Z976w5iV9IH7WV2DsIwe9pJU0yAwHhwIxFWTZRiDHbY,2858
7
+ rubigram/state.py,sha256=_g13o87MHfuudbgvbfu9vAOrSzw4GhdEYkD6dSn7t2s,997
8
+ rubigram/types.py,sha256=mMABq921FiWfOeurSJgtdkyIbz31bNE7ru14C9GyYSk,17195
9
+ rubigram/rubino/__init__.py,sha256=6-ztB6rLeIB3SV4tbVPPUxmNqHQUYQhDee6bnNQdECw,26
10
+ rubigram/rubino/client.py,sha256=nIYkADXe85BGK7N3qI3FB4fiMX1KuLfXtDATO8czhzc,18387
11
+ rubigramclient-1.7.0.dist-info/licenses/LICENSE,sha256=W2bekuLJMG2c-8SvTkJflMF5wY_Mx6rsXfXoCQvRzOI,1081
12
+ rubigramclient-1.7.0.dist-info/METADATA,sha256=A1x_MWI-vaeti6ynvdtui4A8OYNaZN0qviCrHjmz288,4458
13
+ rubigramclient-1.7.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
+ rubigramclient-1.7.0.dist-info/top_level.txt,sha256=Mhg5HfkL6rLec5sI4ClGmwoqYUANAZUz8sVa1sT_cas,9
15
+ rubigramclient-1.7.0.dist-info/RECORD,,
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Javad
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.
@@ -1,15 +0,0 @@
1
- rubigram/__init__.py,sha256=yyPILotyVazCcf1qrKEu_67yYsvLGns2oJlSfLmvhd8,152
2
- rubigram/client.py,sha256=Pg50Za2idur97ZgphmXgQvu0n0N63oPE04sqhujgNk0,5940
3
- rubigram/enums.py,sha256=maI0tD9hQz6QUbjiAmBzMowfZbj1ao-6LqkYybSpbFY,2841
4
- rubigram/filters.py,sha256=Al2LUNLS0hLg9F0BOdU6n1FRnyRLOYHUZFdYW5YEGCw,6852
5
- rubigram/method.py,sha256=tXEyXYisIfW3sVvCJ65oX2UAc4el9d3qfZI7hVPbZto,14276
6
- rubigram/network.py,sha256=Dx1j4PFMpFDF64zaxRWHzZymqq8GJgRNnUQJ2kfI6Vw,2854
7
- rubigram/state.py,sha256=_g13o87MHfuudbgvbfu9vAOrSzw4GhdEYkD6dSn7t2s,997
8
- rubigram/types.py,sha256=aSOQ04-b-jF1PuiRn3uEArfbxASSFhqlTovgJoC-3Ik,29760
9
- rubigram/rubino/__init__.py,sha256=6-ztB6rLeIB3SV4tbVPPUxmNqHQUYQhDee6bnNQdECw,26
10
- rubigram/rubino/client.py,sha256=3Z4lAItC0IKsp0vlRdUE_dhEw-IFolSZ2Aukg7Qeieg,3479
11
- rubigramclient-1.6.9.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- rubigramclient-1.6.9.dist-info/METADATA,sha256=3XkWFjF8__lLbm8zbah54x2ZfpCrYaQmVUH73D8bXc0,2655
13
- rubigramclient-1.6.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
- rubigramclient-1.6.9.dist-info/top_level.txt,sha256=Mhg5HfkL6rLec5sI4ClGmwoqYUANAZUz8sVa1sT_cas,9
15
- rubigramclient-1.6.9.dist-info/RECORD,,
File without changes