Rubka 6.7.1__tar.gz → 7.1.15__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.
- {rubka-6.7.1 → rubka-7.1.15}/PKG-INFO +5 -4
- {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/PKG-INFO +5 -4
- {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/SOURCES.txt +1 -0
- {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/requires.txt +2 -1
- {rubka-6.7.1 → rubka-7.1.15}/rubka/api.py +5 -17
- {rubka-6.7.1 → rubka-7.1.15}/rubka/asynco.py +563 -130
- {rubka-6.7.1 → rubka-7.1.15}/rubka/button.py +1 -1
- {rubka-6.7.1 → rubka-7.1.15}/rubka/context.py +307 -30
- {rubka-6.7.1 → rubka-7.1.15}/rubka/filters.py +16 -0
- rubka-7.1.15/rubka/metadata.py +117 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/rubino.py +187 -107
- {rubka-6.7.1 → rubka-7.1.15}/rubka/tv.py +8 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/update.py +307 -30
- {rubka-6.7.1 → rubka-7.1.15}/setup.py +13 -4
- {rubka-6.7.1 → rubka-7.1.15}/README.md +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/dependency_links.txt +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/entry_points.txt +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/not-zip-safe +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/top_level.txt +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/client/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/client/client.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/crypto/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/crypto/crypto.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/enums.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/exceptions.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/methods/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/methods/methods.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/network/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/network/helper.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/network/network.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/network/socket.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/sessions/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/sessions/sessions.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/types/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/types/socket/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/types/socket/message.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/utils/__init__.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/utils/configs.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/utils/utils.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/config.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/decorators.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/exceptions.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/helpers.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/jobs.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/keyboards.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/keypad.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/logger.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/rubka/utils.py +0 -0
- {rubka-6.7.1 → rubka-7.1.15}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Rubka
|
|
3
|
-
Version:
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 7.1.15
|
|
4
|
+
Summary: Rubika: A Python library for interacting with the Rubika Bot API. This library provides an easy-to-use interface to send messages, polls, stickers, media files, manage groups and channels, handle inline keyboards, and implement advanced bot features like subscription management, user authentication, and message handling. Ideal for developers looking to automate and extend their Rubika bots with Python.
|
|
5
5
|
Home-page: https://github.com/Mahdy-Ahmadi/Rubka
|
|
6
6
|
Download-URL: https://github.com/Mahdy-Ahmadi/rubka/archive/refs/tags/v6.6.4.zip
|
|
7
7
|
Author: Mahdi Ahmadi
|
|
@@ -12,7 +12,7 @@ License: MIT
|
|
|
12
12
|
Project-URL: Bug Tracker, https://t.me/Bprogrammer
|
|
13
13
|
Project-URL: Documentation, https://github.com/Mahdy-Ahmadi/rubka/blob/main/README.md
|
|
14
14
|
Project-URL: Source Code, https://github.com/Mahdy-Ahmadi/Rubka
|
|
15
|
-
Keywords: rubika bot api library chat messaging rubpy pyrubi rubigram
|
|
15
|
+
Keywords: rubika bot api library chat messaging rubpy pyrubi rubigram rubika_bot rubika_api fast_rub
|
|
16
16
|
Classifier: Development Status :: 5 - Production/Stable
|
|
17
17
|
Classifier: Intended Audience :: Developers
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -27,12 +27,13 @@ Classifier: Natural Language :: Persian
|
|
|
27
27
|
Requires-Python: >=3.6
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
29
29
|
Requires-Dist: requests
|
|
30
|
-
Requires-Dist: Pillow
|
|
31
30
|
Requires-Dist: websocket-client
|
|
32
31
|
Requires-Dist: pycryptodome
|
|
33
32
|
Requires-Dist: aiohttp
|
|
33
|
+
Requires-Dist: httpx
|
|
34
34
|
Requires-Dist: tqdm
|
|
35
35
|
Requires-Dist: mutagen
|
|
36
|
+
Requires-Dist: markdownify
|
|
36
37
|
Requires-Dist: filetype
|
|
37
38
|
Requires-Dist: aiofiles
|
|
38
39
|
Dynamic: author
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Rubka
|
|
3
|
-
Version:
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 7.1.15
|
|
4
|
+
Summary: Rubika: A Python library for interacting with the Rubika Bot API. This library provides an easy-to-use interface to send messages, polls, stickers, media files, manage groups and channels, handle inline keyboards, and implement advanced bot features like subscription management, user authentication, and message handling. Ideal for developers looking to automate and extend their Rubika bots with Python.
|
|
5
5
|
Home-page: https://github.com/Mahdy-Ahmadi/Rubka
|
|
6
6
|
Download-URL: https://github.com/Mahdy-Ahmadi/rubka/archive/refs/tags/v6.6.4.zip
|
|
7
7
|
Author: Mahdi Ahmadi
|
|
@@ -12,7 +12,7 @@ License: MIT
|
|
|
12
12
|
Project-URL: Bug Tracker, https://t.me/Bprogrammer
|
|
13
13
|
Project-URL: Documentation, https://github.com/Mahdy-Ahmadi/rubka/blob/main/README.md
|
|
14
14
|
Project-URL: Source Code, https://github.com/Mahdy-Ahmadi/Rubka
|
|
15
|
-
Keywords: rubika bot api library chat messaging rubpy pyrubi rubigram
|
|
15
|
+
Keywords: rubika bot api library chat messaging rubpy pyrubi rubigram rubika_bot rubika_api fast_rub
|
|
16
16
|
Classifier: Development Status :: 5 - Production/Stable
|
|
17
17
|
Classifier: Intended Audience :: Developers
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -27,12 +27,13 @@ Classifier: Natural Language :: Persian
|
|
|
27
27
|
Requires-Python: >=3.6
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
29
29
|
Requires-Dist: requests
|
|
30
|
-
Requires-Dist: Pillow
|
|
31
30
|
Requires-Dist: websocket-client
|
|
32
31
|
Requires-Dist: pycryptodome
|
|
33
32
|
Requires-Dist: aiohttp
|
|
33
|
+
Requires-Dist: httpx
|
|
34
34
|
Requires-Dist: tqdm
|
|
35
35
|
Requires-Dist: mutagen
|
|
36
|
+
Requires-Dist: markdownify
|
|
36
37
|
Requires-Dist: filetype
|
|
37
38
|
Requires-Dist: aiofiles
|
|
38
39
|
Dynamic: author
|
|
@@ -54,22 +54,8 @@ def get_latest_version(package_name: str) -> str:
|
|
|
54
54
|
data = resp.json()
|
|
55
55
|
return data["info"]["version"]
|
|
56
56
|
except Exception:return None
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
installed_version = get_installed_version(package_name)
|
|
60
|
-
if installed_version is None:return
|
|
61
|
-
latest_version = get_latest_version(package_name)
|
|
62
|
-
if latest_version is None:return
|
|
63
|
-
if installed_version != latest_version:
|
|
64
|
-
print(f"\n\nWARNING: Your installed version of '{package_name}' is OUTDATED and may cause errors or security risks!")
|
|
65
|
-
print(f"Installed version : {installed_version}")
|
|
66
|
-
print(f"Latest available version : {latest_version}")
|
|
67
|
-
print(f"Please update IMMEDIATELY by running:")
|
|
68
|
-
print(f"\npip install {package_name}=={latest_version}\n")
|
|
69
|
-
print(f"Not updating may lead to malfunctions or incompatibility.")
|
|
70
|
-
print(f"To see new methods : @rubka_library\n\n")
|
|
71
|
-
|
|
72
|
-
check_rubka_version()
|
|
57
|
+
|
|
58
|
+
|
|
73
59
|
def show_last_six_words(text):
|
|
74
60
|
text = text.strip()
|
|
75
61
|
return text[-6:]
|
|
@@ -1016,7 +1002,9 @@ class Robot:
|
|
|
1016
1002
|
inline_keypad: Optional[Dict[str, Any]] = None,
|
|
1017
1003
|
disable_notification: bool = False,
|
|
1018
1004
|
reply_to_message_id: Optional[str] = None,
|
|
1019
|
-
chat_keypad_type: Optional[Literal["New", "Removed"]] = None
|
|
1005
|
+
chat_keypad_type: Optional[Literal["New", "Removed"]] = None,
|
|
1006
|
+
delete_after = None,
|
|
1007
|
+
parse_mode = None
|
|
1020
1008
|
) -> Dict[str, Any]:
|
|
1021
1009
|
"""
|
|
1022
1010
|
Send a text message to a chat.
|