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.
Files changed (51) hide show
  1. {rubka-6.7.1 → rubka-7.1.15}/PKG-INFO +5 -4
  2. {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/PKG-INFO +5 -4
  3. {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/SOURCES.txt +1 -0
  4. {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/requires.txt +2 -1
  5. {rubka-6.7.1 → rubka-7.1.15}/rubka/api.py +5 -17
  6. {rubka-6.7.1 → rubka-7.1.15}/rubka/asynco.py +563 -130
  7. {rubka-6.7.1 → rubka-7.1.15}/rubka/button.py +1 -1
  8. {rubka-6.7.1 → rubka-7.1.15}/rubka/context.py +307 -30
  9. {rubka-6.7.1 → rubka-7.1.15}/rubka/filters.py +16 -0
  10. rubka-7.1.15/rubka/metadata.py +117 -0
  11. {rubka-6.7.1 → rubka-7.1.15}/rubka/rubino.py +187 -107
  12. {rubka-6.7.1 → rubka-7.1.15}/rubka/tv.py +8 -0
  13. {rubka-6.7.1 → rubka-7.1.15}/rubka/update.py +307 -30
  14. {rubka-6.7.1 → rubka-7.1.15}/setup.py +13 -4
  15. {rubka-6.7.1 → rubka-7.1.15}/README.md +0 -0
  16. {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/dependency_links.txt +0 -0
  17. {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/entry_points.txt +0 -0
  18. {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/not-zip-safe +0 -0
  19. {rubka-6.7.1 → rubka-7.1.15}/Rubka.egg-info/top_level.txt +0 -0
  20. {rubka-6.7.1 → rubka-7.1.15}/rubka/__init__.py +0 -0
  21. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/__init__.py +0 -0
  22. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/client/__init__.py +0 -0
  23. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/client/client.py +0 -0
  24. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/crypto/__init__.py +0 -0
  25. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/crypto/crypto.py +0 -0
  26. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/enums.py +0 -0
  27. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/exceptions.py +0 -0
  28. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/methods/__init__.py +0 -0
  29. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/methods/methods.py +0 -0
  30. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/network/__init__.py +0 -0
  31. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/network/helper.py +0 -0
  32. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/network/network.py +0 -0
  33. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/network/socket.py +0 -0
  34. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/sessions/__init__.py +0 -0
  35. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/sessions/sessions.py +0 -0
  36. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/types/__init__.py +0 -0
  37. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/types/socket/__init__.py +0 -0
  38. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/types/socket/message.py +0 -0
  39. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/utils/__init__.py +0 -0
  40. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/utils/configs.py +0 -0
  41. {rubka-6.7.1 → rubka-7.1.15}/rubka/adaptorrubka/utils/utils.py +0 -0
  42. {rubka-6.7.1 → rubka-7.1.15}/rubka/config.py +0 -0
  43. {rubka-6.7.1 → rubka-7.1.15}/rubka/decorators.py +0 -0
  44. {rubka-6.7.1 → rubka-7.1.15}/rubka/exceptions.py +0 -0
  45. {rubka-6.7.1 → rubka-7.1.15}/rubka/helpers.py +0 -0
  46. {rubka-6.7.1 → rubka-7.1.15}/rubka/jobs.py +0 -0
  47. {rubka-6.7.1 → rubka-7.1.15}/rubka/keyboards.py +0 -0
  48. {rubka-6.7.1 → rubka-7.1.15}/rubka/keypad.py +0 -0
  49. {rubka-6.7.1 → rubka-7.1.15}/rubka/logger.py +0 -0
  50. {rubka-6.7.1 → rubka-7.1.15}/rubka/utils.py +0 -0
  51. {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: 6.7.1
4
- Summary: rubika A Python library for interacting with Rubika Bot API.
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: 6.7.1
4
- Summary: rubika A Python library for interacting with Rubika Bot API.
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
@@ -21,6 +21,7 @@ rubka/jobs.py
21
21
  rubka/keyboards.py
22
22
  rubka/keypad.py
23
23
  rubka/logger.py
24
+ rubka/metadata.py
24
25
  rubka/rubino.py
25
26
  rubka/tv.py
26
27
  rubka/update.py
@@ -1,9 +1,10 @@
1
1
  requests
2
- Pillow
3
2
  websocket-client
4
3
  pycryptodome
5
4
  aiohttp
5
+ httpx
6
6
  tqdm
7
7
  mutagen
8
+ markdownify
8
9
  filetype
9
10
  aiofiles
@@ -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
- def check_rubka_version():
58
- package_name = "rubka"
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.