xiaogpt 2.71__tar.gz → 2.81__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 (29) hide show
  1. {xiaogpt-2.71 → xiaogpt-2.81}/PKG-INFO +6 -6
  2. {xiaogpt-2.71 → xiaogpt-2.81}/pyproject.toml +6 -6
  3. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/xiaogpt.py +2 -2
  4. {xiaogpt-2.71 → xiaogpt-2.81}/LICENSE +0 -0
  5. {xiaogpt-2.71 → xiaogpt-2.81}/README.md +0 -0
  6. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/__init__.py +0 -0
  7. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/__main__.py +0 -0
  8. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/__init__.py +0 -0
  9. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/base_bot.py +0 -0
  10. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/chatgptapi_bot.py +0 -0
  11. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/doubao_bot.py +0 -0
  12. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/gemini_bot.py +0 -0
  13. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/glm_bot.py +0 -0
  14. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/langchain_bot.py +0 -0
  15. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/llama_bot.py +0 -0
  16. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/moonshot_bot.py +0 -0
  17. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/qwen_bot.py +0 -0
  18. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/bot/yi_bot.py +0 -0
  19. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/cli.py +0 -0
  20. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/config.py +0 -0
  21. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/langchain/callbacks.py +0 -0
  22. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/langchain/chain.py +0 -0
  23. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/langchain/examples/email/mail_box.py +0 -0
  24. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/langchain/examples/email/mail_summary_tools.py +0 -0
  25. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/tts/__init__.py +0 -0
  26. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/tts/base.py +0 -0
  27. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/tts/mi.py +0 -0
  28. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/tts/tetos.py +0 -0
  29. {xiaogpt-2.71 → xiaogpt-2.81}/xiaogpt/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xiaogpt
3
- Version: 2.71
3
+ Version: 2.81
4
4
  Summary: Play ChatGPT or other LLM with xiaomi AI speaker
5
5
  Author-Email: yihong0618 <zouzou0208@gmail.com>
6
6
  License: MIT
@@ -43,18 +43,18 @@ Requires-Dist: distro==1.9.0; extra == "locked"
43
43
  Requires-Dist: edge-tts==6.1.10; extra == "locked"
44
44
  Requires-Dist: exceptiongroup==1.2.0; python_version < "3.11" and extra == "locked"
45
45
  Requires-Dist: frozenlist==1.4.1; extra == "locked"
46
- Requires-Dist: google-ai-generativelanguage==0.6.3; extra == "locked"
46
+ Requires-Dist: google-ai-generativelanguage==0.6.4; extra == "locked"
47
47
  Requires-Dist: google-api-core==2.15.0; extra == "locked"
48
48
  Requires-Dist: google-api-core[grpc]==2.15.0; extra == "locked"
49
49
  Requires-Dist: google-api-python-client==2.125.0; extra == "locked"
50
50
  Requires-Dist: google-auth==2.26.1; extra == "locked"
51
51
  Requires-Dist: google-auth-httplib2==0.2.0; extra == "locked"
52
52
  Requires-Dist: google-cloud-texttospeech==2.16.3; extra == "locked"
53
- Requires-Dist: google-generativeai==0.5.3; extra == "locked"
53
+ Requires-Dist: google-generativeai==0.5.4; extra == "locked"
54
54
  Requires-Dist: google-search-results==2.4.2; extra == "locked"
55
55
  Requires-Dist: googleapis-common-protos==1.62.0; extra == "locked"
56
56
  Requires-Dist: greenlet==3.0.3; (platform_machine == "win32" or platform_machine == "WIN32" or platform_machine == "AMD64" or platform_machine == "amd64" or platform_machine == "x86_64" or platform_machine == "ppc64le" or platform_machine == "aarch64") and extra == "locked"
57
- Requires-Dist: groq==0.5.0; extra == "locked"
57
+ Requires-Dist: groq==0.6.0; extra == "locked"
58
58
  Requires-Dist: grpcio==1.60.0; extra == "locked"
59
59
  Requires-Dist: grpcio-status==1.60.0; extra == "locked"
60
60
  Requires-Dist: h11==0.14.0; extra == "locked"
@@ -73,13 +73,13 @@ Requires-Dist: langsmith==0.1.45; extra == "locked"
73
73
  Requires-Dist: markdown-it-py==3.0.0; extra == "locked"
74
74
  Requires-Dist: marshmallow==3.20.1; extra == "locked"
75
75
  Requires-Dist: mdurl==0.1.2; extra == "locked"
76
- Requires-Dist: miservice-fork==2.4.3; extra == "locked"
76
+ Requires-Dist: miservice-fork==2.5.0; extra == "locked"
77
77
  Requires-Dist: multidict==6.0.5; extra == "locked"
78
78
  Requires-Dist: mutagen==1.47.0; extra == "locked"
79
79
  Requires-Dist: mypy-extensions==1.0.0; extra == "locked"
80
80
  Requires-Dist: numexpr==2.10.0; extra == "locked"
81
81
  Requires-Dist: numpy==1.26.3; extra == "locked"
82
- Requires-Dist: openai==1.29.0; extra == "locked"
82
+ Requires-Dist: openai==1.30.1; extra == "locked"
83
83
  Requires-Dist: orjson==3.10.0; extra == "locked"
84
84
  Requires-Dist: packaging==23.2; extra == "locked"
85
85
  Requires-Dist: proto-plus==1.23.0; extra == "locked"
@@ -29,7 +29,7 @@ dependencies = [
29
29
  "pyyaml>=6.0.1",
30
30
  ]
31
31
  dynamic = []
32
- version = "2.71"
32
+ version = "2.81"
33
33
 
34
34
  [project.license]
35
35
  text = "MIT"
@@ -61,18 +61,18 @@ locked = [
61
61
  "edge-tts==6.1.10",
62
62
  "exceptiongroup==1.2.0 ; python_version < \"3.11\"",
63
63
  "frozenlist==1.4.1",
64
- "google-ai-generativelanguage==0.6.3",
64
+ "google-ai-generativelanguage==0.6.4",
65
65
  "google-api-core==2.15.0",
66
66
  "google-api-core[grpc]==2.15.0",
67
67
  "google-api-python-client==2.125.0",
68
68
  "google-auth==2.26.1",
69
69
  "google-auth-httplib2==0.2.0",
70
70
  "google-cloud-texttospeech==2.16.3",
71
- "google-generativeai==0.5.3",
71
+ "google-generativeai==0.5.4",
72
72
  "google-search-results==2.4.2",
73
73
  "googleapis-common-protos==1.62.0",
74
74
  "greenlet==3.0.3 ; platform_machine == \"win32\" or platform_machine == \"WIN32\" or platform_machine == \"AMD64\" or platform_machine == \"amd64\" or platform_machine == \"x86_64\" or platform_machine == \"ppc64le\" or platform_machine == \"aarch64\"",
75
- "groq==0.5.0",
75
+ "groq==0.6.0",
76
76
  "grpcio==1.60.0",
77
77
  "grpcio-status==1.60.0",
78
78
  "h11==0.14.0",
@@ -91,13 +91,13 @@ locked = [
91
91
  "markdown-it-py==3.0.0",
92
92
  "marshmallow==3.20.1",
93
93
  "mdurl==0.1.2",
94
- "miservice-fork==2.4.3",
94
+ "miservice-fork==2.5.0",
95
95
  "multidict==6.0.5",
96
96
  "mutagen==1.47.0",
97
97
  "mypy-extensions==1.0.0",
98
98
  "numexpr==2.10.0",
99
99
  "numpy==1.26.3",
100
- "openai==1.29.0",
100
+ "openai==1.30.1",
101
101
  "orjson==3.10.0",
102
102
  "packaging==23.2",
103
103
  "proto-plus==1.23.0",
@@ -325,7 +325,7 @@ class MiGPT:
325
325
  # WTF xiaomi api
326
326
  is_playing = (
327
327
  json.loads(playing_info.get("data", {}).get("info", "{}")).get("status", -1)
328
- == 1
328
+ >= 1
329
329
  )
330
330
  return is_playing
331
331
 
@@ -333,7 +333,7 @@ class MiGPT:
333
333
  is_playing = await self.get_if_xiaoai_is_playing()
334
334
  if is_playing:
335
335
  # stop it
336
- await self.mina_service.player_pause(self.device_id)
336
+ await self.mina_service.player_stop(self.device_id)
337
337
 
338
338
  async def wakeup_xiaoai(self):
339
339
  return await miio_command(
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