CliRemote 1.7.5__tar.gz → 1.7.7__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 (46) hide show
  1. {cliremote-1.7.5 → cliremote-1.7.7}/CliRemote.egg-info/PKG-INFO +1 -1
  2. {cliremote-1.7.5 → cliremote-1.7.7}/PKG-INFO +1 -1
  3. {cliremote-1.7.5 → cliremote-1.7.7}/pyproject.toml +1 -1
  4. {cliremote-1.7.5 → cliremote-1.7.7}/remote/getcode_controller.py +2 -4
  5. {cliremote-1.7.5 → cliremote-1.7.7}/setup.py +39 -39
  6. {cliremote-1.7.5 → cliremote-1.7.7}/CliRemote.egg-info/SOURCES.txt +0 -0
  7. {cliremote-1.7.5 → cliremote-1.7.7}/CliRemote.egg-info/dependency_links.txt +0 -0
  8. {cliremote-1.7.5 → cliremote-1.7.7}/CliRemote.egg-info/requires.txt +0 -0
  9. {cliremote-1.7.5 → cliremote-1.7.7}/CliRemote.egg-info/top_level.txt +0 -0
  10. {cliremote-1.7.5 → cliremote-1.7.7}/LICENSE +0 -0
  11. {cliremote-1.7.5 → cliremote-1.7.7}/MANIFEST.in +0 -0
  12. {cliremote-1.7.5 → cliremote-1.7.7}/README.md +0 -0
  13. {cliremote-1.7.5 → cliremote-1.7.7}/remote/__init__.py +0 -0
  14. {cliremote-1.7.5 → cliremote-1.7.7}/remote/account_manager.py +0 -0
  15. {cliremote-1.7.5 → cliremote-1.7.7}/remote/account_viewer.py +0 -0
  16. {cliremote-1.7.5 → cliremote-1.7.7}/remote/admin_manager.py +0 -0
  17. {cliremote-1.7.5 → cliremote-1.7.7}/remote/analytics_manager.py +0 -0
  18. {cliremote-1.7.5 → cliremote-1.7.7}/remote/batch_manager.py +0 -0
  19. {cliremote-1.7.5 → cliremote-1.7.7}/remote/block_manager.py +0 -0
  20. {cliremote-1.7.5 → cliremote-1.7.7}/remote/caption_manager.py +0 -0
  21. {cliremote-1.7.5 → cliremote-1.7.7}/remote/cleaner.py +0 -0
  22. {cliremote-1.7.5 → cliremote-1.7.7}/remote/client_manager.py +0 -0
  23. {cliremote-1.7.5 → cliremote-1.7.7}/remote/client_picker.py +0 -0
  24. {cliremote-1.7.5 → cliremote-1.7.7}/remote/config.py +0 -0
  25. {cliremote-1.7.5 → cliremote-1.7.7}/remote/device_manager.py +0 -0
  26. {cliremote-1.7.5 → cliremote-1.7.7}/remote/file_sender.py +0 -0
  27. {cliremote-1.7.5 → cliremote-1.7.7}/remote/health.py +0 -0
  28. {cliremote-1.7.5 → cliremote-1.7.7}/remote/help_menu.py +0 -0
  29. {cliremote-1.7.5 → cliremote-1.7.7}/remote/init.py +0 -0
  30. {cliremote-1.7.5 → cliremote-1.7.7}/remote/join_controller.py +0 -0
  31. {cliremote-1.7.5 → cliremote-1.7.7}/remote/joiner.py +0 -0
  32. {cliremote-1.7.5 → cliremote-1.7.7}/remote/leave_controller.py +0 -0
  33. {cliremote-1.7.5 → cliremote-1.7.7}/remote/lefter.py +0 -0
  34. {cliremote-1.7.5 → cliremote-1.7.7}/remote/mention_manager.py +0 -0
  35. {cliremote-1.7.5 → cliremote-1.7.7}/remote/precise_engine.py +0 -0
  36. {cliremote-1.7.5 → cliremote-1.7.7}/remote/profile_info.py +0 -0
  37. {cliremote-1.7.5 → cliremote-1.7.7}/remote/profile_media.py +0 -0
  38. {cliremote-1.7.5 → cliremote-1.7.7}/remote/profile_privacy.py +0 -0
  39. {cliremote-1.7.5 → cliremote-1.7.7}/remote/spammer.py +0 -0
  40. {cliremote-1.7.5 → cliremote-1.7.7}/remote/speed_manager.py +0 -0
  41. {cliremote-1.7.5 → cliremote-1.7.7}/remote/stop_manager.py +0 -0
  42. {cliremote-1.7.5 → cliremote-1.7.7}/remote/text_manager.py +0 -0
  43. {cliremote-1.7.5 → cliremote-1.7.7}/remote/username_manager.py +0 -0
  44. {cliremote-1.7.5 → cliremote-1.7.7}/remote/utils/__init__.py +0 -0
  45. {cliremote-1.7.5 → cliremote-1.7.7}/remote/utils/sqlite_utils.py +0 -0
  46. {cliremote-1.7.5 → cliremote-1.7.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CliRemote
3
- Version: 1.7.5
3
+ Version: 1.7.7
4
4
  Summary: Remote client framework for Telegram automation using Pyrogram
5
5
  Home-page: https://github.com/MohammadAhmadi-R/CliRemote
6
6
  Author: MrAhmadiRad
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CliRemote
3
- Version: 1.7.5
3
+ Version: 1.7.7
4
4
  Summary: Remote client framework for Telegram automation using Pyrogram
5
5
  Home-page: https://github.com/MohammadAhmadi-R/CliRemote
6
6
  Author: MrAhmadiRad
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "CliRemote"
7
- version = "1.7.5"
7
+ version = "1.7.7"
8
8
  description = "Remote client framework for Telegram automation using Pyrogram"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -26,7 +26,7 @@ async def handle_getcode_cmd(message, get_app_info):
26
26
  cli = await get_or_start_client(phone)
27
27
  if cli and getattr(cli, "is_connected", False):
28
28
  logger.info("get_any_client: started %s", phone)
29
- return cli
29
+
30
30
  except Exception as e:
31
31
  logger.warning("get_any_client: failed start %s: %s: %s", phone, type(e).__name__, e)
32
32
  break
@@ -35,13 +35,11 @@ async def handle_getcode_cmd(message, get_app_info):
35
35
 
36
36
  code_message = ''
37
37
  try:
38
- async with cli:
39
38
  messages = [msg async for msg in cli.get_chat_history(777000, limit=1)]
40
39
  if messages and messages[0].text:
41
40
  code_message = messages[0].text
42
41
  else:
43
- code_message = 'هیچ پیامی از تلگرام دریافت نشد'
44
-
42
+ code_message = 'هیچ پیامی از تلگرام دریافت نشد'
45
43
  except Exception as e:
46
44
  logger.error(f"Error while reading code for {number}: {e}")
47
45
  await message.reply(f'<b>هنگام فراخوانی سشن خطایی رخ داد:</b>\n{str(e)}')
@@ -1,39 +1,39 @@
1
- from setuptools import setup, find_packages
2
-
3
- with open("README.md", encoding="utf-8") as f:
4
- long_description = f.read()
5
-
6
- setup(
7
- name="CliRemote",
8
- version="1.7.5",
9
- author="MrAhmadiRad",
10
- author_email="mohammadahmadirad69@gmail.com",
11
- description="A precise, async-safe, Telegram automation core (Python 3.8+)",
12
- long_description=long_description,
13
- long_description_content_type="text/markdown",
14
- url="https://github.com/MohammadAhmadi-R/CliRemote",
15
- packages=find_packages(),
16
- install_requires=[
17
- "pyrogram>=2.0.106",
18
- "httpx>=0.27.0",
19
- "pytz>=2023.3",
20
- ],
21
- python_requires=">=3.8",
22
- classifiers=[
23
- "Development Status :: 4 - Beta",
24
- "Intended Audience :: Developers",
25
- "License :: OSI Approved :: MIT License",
26
- "Operating System :: OS Independent",
27
- "Framework :: AsyncIO",
28
- "Topic :: Communications",
29
- "Topic :: Communications :: Chat",
30
- "Programming Language :: Python",
31
- "Programming Language :: Python :: 3",
32
- "Programming Language :: Python :: 3.8",
33
- "Programming Language :: Python :: 3.9",
34
- "Programming Language :: Python :: 3.10",
35
- "Programming Language :: Python :: 3.11",
36
- "Programming Language :: Python :: 3.12",
37
- "Programming Language :: Python :: 3.13",
38
- ],
39
- )
1
+ from setuptools import setup, find_packages
2
+
3
+ with open("README.md", encoding="utf-8") as f:
4
+ long_description = f.read()
5
+
6
+ setup(
7
+ name="CliRemote",
8
+ version="1.7.7",
9
+ author="MrAhmadiRad",
10
+ author_email="mohammadahmadirad69@gmail.com",
11
+ description="A precise, async-safe, Telegram automation core (Python 3.8+)",
12
+ long_description=long_description,
13
+ long_description_content_type="text/markdown",
14
+ url="https://github.com/MohammadAhmadi-R/CliRemote",
15
+ packages=find_packages(),
16
+ install_requires=[
17
+ "pyrogram>=2.0.106",
18
+ "httpx>=0.27.0",
19
+ "pytz>=2023.3",
20
+ ],
21
+ python_requires=">=3.8",
22
+ classifiers=[
23
+ "Development Status :: 4 - Beta",
24
+ "Intended Audience :: Developers",
25
+ "License :: OSI Approved :: MIT License",
26
+ "Operating System :: OS Independent",
27
+ "Framework :: AsyncIO",
28
+ "Topic :: Communications",
29
+ "Topic :: Communications :: Chat",
30
+ "Programming Language :: Python",
31
+ "Programming Language :: Python :: 3",
32
+ "Programming Language :: Python :: 3.8",
33
+ "Programming Language :: Python :: 3.9",
34
+ "Programming Language :: Python :: 3.10",
35
+ "Programming Language :: Python :: 3.11",
36
+ "Programming Language :: Python :: 3.12",
37
+ "Programming Language :: Python :: 3.13",
38
+ ],
39
+ )
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