Rubka 7.1.1__tar.gz → 7.1.2__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.

Potentially problematic release.


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

Files changed (50) hide show
  1. {rubka-7.1.1 → rubka-7.1.2}/PKG-INFO +1 -1
  2. {rubka-7.1.1 → rubka-7.1.2}/Rubka.egg-info/PKG-INFO +1 -1
  3. {rubka-7.1.1 → rubka-7.1.2}/rubka/asynco.py +2 -0
  4. {rubka-7.1.1 → rubka-7.1.2}/rubka/button.py +1 -1
  5. {rubka-7.1.1 → rubka-7.1.2}/rubka/rubino.py +4 -1
  6. {rubka-7.1.1 → rubka-7.1.2}/rubka/tv.py +2 -0
  7. {rubka-7.1.1 → rubka-7.1.2}/setup.py +1 -1
  8. {rubka-7.1.1 → rubka-7.1.2}/README.md +0 -0
  9. {rubka-7.1.1 → rubka-7.1.2}/Rubka.egg-info/SOURCES.txt +0 -0
  10. {rubka-7.1.1 → rubka-7.1.2}/Rubka.egg-info/dependency_links.txt +0 -0
  11. {rubka-7.1.1 → rubka-7.1.2}/Rubka.egg-info/entry_points.txt +0 -0
  12. {rubka-7.1.1 → rubka-7.1.2}/Rubka.egg-info/not-zip-safe +0 -0
  13. {rubka-7.1.1 → rubka-7.1.2}/Rubka.egg-info/requires.txt +0 -0
  14. {rubka-7.1.1 → rubka-7.1.2}/Rubka.egg-info/top_level.txt +0 -0
  15. {rubka-7.1.1 → rubka-7.1.2}/rubka/__init__.py +0 -0
  16. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/__init__.py +0 -0
  17. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/client/__init__.py +0 -0
  18. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/client/client.py +0 -0
  19. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/crypto/__init__.py +0 -0
  20. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/crypto/crypto.py +0 -0
  21. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/enums.py +0 -0
  22. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/exceptions.py +0 -0
  23. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/methods/__init__.py +0 -0
  24. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/methods/methods.py +0 -0
  25. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/network/__init__.py +0 -0
  26. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/network/helper.py +0 -0
  27. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/network/network.py +0 -0
  28. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/network/socket.py +0 -0
  29. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/sessions/__init__.py +0 -0
  30. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/sessions/sessions.py +0 -0
  31. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/types/__init__.py +0 -0
  32. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/types/socket/__init__.py +0 -0
  33. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/types/socket/message.py +0 -0
  34. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/utils/__init__.py +0 -0
  35. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/utils/configs.py +0 -0
  36. {rubka-7.1.1 → rubka-7.1.2}/rubka/adaptorrubka/utils/utils.py +0 -0
  37. {rubka-7.1.1 → rubka-7.1.2}/rubka/api.py +0 -0
  38. {rubka-7.1.1 → rubka-7.1.2}/rubka/config.py +0 -0
  39. {rubka-7.1.1 → rubka-7.1.2}/rubka/context.py +0 -0
  40. {rubka-7.1.1 → rubka-7.1.2}/rubka/decorators.py +0 -0
  41. {rubka-7.1.1 → rubka-7.1.2}/rubka/exceptions.py +0 -0
  42. {rubka-7.1.1 → rubka-7.1.2}/rubka/filters.py +0 -0
  43. {rubka-7.1.1 → rubka-7.1.2}/rubka/helpers.py +0 -0
  44. {rubka-7.1.1 → rubka-7.1.2}/rubka/jobs.py +0 -0
  45. {rubka-7.1.1 → rubka-7.1.2}/rubka/keyboards.py +0 -0
  46. {rubka-7.1.1 → rubka-7.1.2}/rubka/keypad.py +0 -0
  47. {rubka-7.1.1 → rubka-7.1.2}/rubka/logger.py +0 -0
  48. {rubka-7.1.1 → rubka-7.1.2}/rubka/update.py +0 -0
  49. {rubka-7.1.1 → rubka-7.1.2}/rubka/utils.py +0 -0
  50. {rubka-7.1.1 → rubka-7.1.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Rubka
3
- Version: 7.1.1
3
+ Version: 7.1.2
4
4
  Summary: rubika A Python library for interacting with Rubika Bot API.
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Rubka
3
- Version: 7.1.1
3
+ Version: 7.1.2
4
4
  Summary: rubika A Python library for interacting with Rubika Bot API.
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
@@ -8,6 +8,8 @@ from .rubino import Bot as Rubino
8
8
  from . import filters
9
9
  try:from .context import Message, InlineMessage
10
10
  except (ImportError, ModuleNotFoundError):from context import Message, InlineMessage
11
+ try:from .button import ChatKeypadBuilder, InlineBuilder
12
+ except (ImportError, ModuleNotFoundError):from button import ChatKeypadBuilder, InlineBuilder
11
13
  class FeatureNotAvailableError(Exception):
12
14
  pass
13
15
 
@@ -371,7 +371,7 @@ class InlineBuilder:
371
371
 
372
372
  def build(self) -> Dict:
373
373
  return {"rows": self.rows}
374
- class ChatKeypadBuilder:
374
+ class ChatKeypadBuilder(InlineBuilder):
375
375
  def __init__(self):
376
376
  self.rows: List[Dict[str, List[Dict[str, str]]]] = []
377
377
 
@@ -426,8 +426,11 @@ def _req(term, results, lang, start, proxies, timeout):
426
426
  import random
427
427
 
428
428
  class Bot():
429
- """rubino class"""
429
+ """rubino class Regester m.rubika.ir"""
430
430
  def __init__(self,auth,platform="m.rubika.ir",lang_code="fa") -> None:
431
+ """
432
+ regester m.rubika.ir
433
+ """
431
434
  self.auth=auth
432
435
  self.platform=platform
433
436
  self.lang_code=lang_code
@@ -28,6 +28,8 @@ class TV:
28
28
  - auth: توکن احراز هویت حساب کاربری
29
29
  - proxy: پراکسی برای ارسال درخواست‌ها (اختیاری)
30
30
  - headers: هدرهای سفارشی برای ارسال درخواست‌ها (اختیاری)
31
+ # نکته:
32
+ https://vod.rubika.ir/
31
33
  """
32
34
  self.auth = auth
33
35
  self.headers = headers if headers is not None else self.DEFAULT_HEADERS
@@ -13,7 +13,7 @@ with open("README.md", "r", encoding="utf-8") as f:
13
13
 
14
14
  setup(
15
15
  name='Rubka',
16
- version='7.1.1',
16
+ version='7.1.2',
17
17
  description='rubika A Python library for interacting with Rubika Bot API.',
18
18
  long_description=long_description,
19
19
  long_description_content_type='text/markdown',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes