xiaogpt 3.20__tar.gz → 3.21__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.
- {xiaogpt-3.20 → xiaogpt-3.21}/PKG-INFO +16 -13
- {xiaogpt-3.20 → xiaogpt-3.21}/pyproject.toml +16 -13
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/utils.py +0 -7
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/xiaogpt.py +0 -1
- {xiaogpt-3.20 → xiaogpt-3.21}/LICENSE +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/README.md +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/__init__.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/__main__.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/__init__.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/base_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/chatgptapi_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/doubao_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/gemini_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/glm_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/langchain_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/llama_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/moonshot_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/qwen_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/bot/yi_bot.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/cli.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/config.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/langchain/callbacks.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/langchain/chain.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/langchain/examples/email/mail_box.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/langchain/examples/email/mail_summary_tools.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/tts/__init__.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/tts/base.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/tts/file.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/tts/live.py +0 -0
- {xiaogpt-3.20 → xiaogpt-3.21}/xiaogpt/tts/mi.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: xiaogpt
|
3
|
-
Version: 3.
|
3
|
+
Version: 3.21
|
4
4
|
Summary: Play ChatGPT or other LLM with xiaomi AI speaker
|
5
5
|
Author-Email: yihong0618 <zouzou0208@gmail.com>
|
6
6
|
License: MIT
|
@@ -28,8 +28,8 @@ Requires-Dist: langchain-community>=0.0.38
|
|
28
28
|
Requires-Dist: lingua-language-detector>=2.0.2; python_version < "3.13"
|
29
29
|
Requires-Dist: volcengine-python-sdk>=1.1.5
|
30
30
|
Provides-Extra: locked
|
31
|
-
Requires-Dist: aiohappyeyeballs==2.
|
32
|
-
Requires-Dist: aiohttp==3.11
|
31
|
+
Requires-Dist: aiohappyeyeballs==2.6.1; extra == "locked"
|
32
|
+
Requires-Dist: aiohttp==3.12.11; extra == "locked"
|
33
33
|
Requires-Dist: aiosignal==1.3.1; extra == "locked"
|
34
34
|
Requires-Dist: annotated-types==0.6.0; extra == "locked"
|
35
35
|
Requires-Dist: anyio==4.3.0; extra == "locked"
|
@@ -39,10 +39,11 @@ Requires-Dist: azure-cognitiveservices-speech==1.37.0; extra == "locked"
|
|
39
39
|
Requires-Dist: beautifulsoup4==4.13.4; extra == "locked"
|
40
40
|
Requires-Dist: cachetools==5.3.2; extra == "locked"
|
41
41
|
Requires-Dist: certifi==2024.2.2; extra == "locked"
|
42
|
+
Requires-Dist: cffi==1.17.1; platform_python_implementation == "PyPy" and extra == "locked"
|
42
43
|
Requires-Dist: charset-normalizer==3.3.2; extra == "locked"
|
43
44
|
Requires-Dist: click==8.1.7; extra == "locked"
|
44
45
|
Requires-Dist: colorama==0.4.6; platform_system == "Windows" and extra == "locked"
|
45
|
-
Requires-Dist: dashscope==1.23.
|
46
|
+
Requires-Dist: dashscope==1.23.4; extra == "locked"
|
46
47
|
Requires-Dist: dataclasses-json==0.6.3; extra == "locked"
|
47
48
|
Requires-Dist: distro==1.9.0; extra == "locked"
|
48
49
|
Requires-Dist: edge-tts==6.1.10; extra == "locked"
|
@@ -59,7 +60,7 @@ Requires-Dist: google-generativeai==0.8.5; extra == "locked"
|
|
59
60
|
Requires-Dist: google-search-results==2.4.2; extra == "locked"
|
60
61
|
Requires-Dist: googleapis-common-protos==1.62.0; extra == "locked"
|
61
62
|
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"
|
62
|
-
Requires-Dist: groq==0.
|
63
|
+
Requires-Dist: groq==0.26.0; extra == "locked"
|
63
64
|
Requires-Dist: grpcio==1.60.0; extra == "locked"
|
64
65
|
Requires-Dist: grpcio-status==1.60.0; extra == "locked"
|
65
66
|
Requires-Dist: h11==0.14.0; extra == "locked"
|
@@ -73,11 +74,11 @@ Requires-Dist: idna==3.7; extra == "locked"
|
|
73
74
|
Requires-Dist: jiter==0.5.0; extra == "locked"
|
74
75
|
Requires-Dist: jsonpatch==1.33; extra == "locked"
|
75
76
|
Requires-Dist: jsonpointer==2.4; extra == "locked"
|
76
|
-
Requires-Dist: langchain==0.3.
|
77
|
-
Requires-Dist: langchain-community==0.3.
|
78
|
-
Requires-Dist: langchain-core==0.3.
|
77
|
+
Requires-Dist: langchain==0.3.25; extra == "locked"
|
78
|
+
Requires-Dist: langchain-community==0.3.24; extra == "locked"
|
79
|
+
Requires-Dist: langchain-core==0.3.64; extra == "locked"
|
79
80
|
Requires-Dist: langchain-text-splitters==0.3.8; extra == "locked"
|
80
|
-
Requires-Dist: langsmith==0.
|
81
|
+
Requires-Dist: langsmith==0.3.45; extra == "locked"
|
81
82
|
Requires-Dist: lingua-language-detector==2.0.2; python_version < "3.13" and extra == "locked"
|
82
83
|
Requires-Dist: markdown-it-py==3.0.0; extra == "locked"
|
83
84
|
Requires-Dist: marshmallow==3.20.1; extra == "locked"
|
@@ -88,8 +89,8 @@ Requires-Dist: mutagen==1.47.0; extra == "locked"
|
|
88
89
|
Requires-Dist: mypy-extensions==1.0.0; extra == "locked"
|
89
90
|
Requires-Dist: numexpr==2.10.2; extra == "locked"
|
90
91
|
Requires-Dist: numpy==1.26.3; extra == "locked"
|
91
|
-
Requires-Dist: openai==1.
|
92
|
-
Requires-Dist: orjson==3.10.0; extra == "locked"
|
92
|
+
Requires-Dist: openai==1.85.0; extra == "locked"
|
93
|
+
Requires-Dist: orjson==3.10.0; platform_python_implementation != "PyPy" and extra == "locked"
|
93
94
|
Requires-Dist: ormsgpack==1.5.0; extra == "locked"
|
94
95
|
Requires-Dist: packaging==23.2; extra == "locked"
|
95
96
|
Requires-Dist: propcache==0.3.1; extra == "locked"
|
@@ -97,6 +98,7 @@ Requires-Dist: proto-plus==1.26.1; extra == "locked"
|
|
97
98
|
Requires-Dist: protobuf==4.25.1; extra == "locked"
|
98
99
|
Requires-Dist: pyasn1==0.5.1; extra == "locked"
|
99
100
|
Requires-Dist: pyasn1-modules==0.3.0; extra == "locked"
|
101
|
+
Requires-Dist: pycparser==2.22; platform_python_implementation == "PyPy" and extra == "locked"
|
100
102
|
Requires-Dist: pydantic==2.8.2; extra == "locked"
|
101
103
|
Requires-Dist: pydantic-core==2.20.1; extra == "locked"
|
102
104
|
Requires-Dist: pydantic-settings==2.5.2; extra == "locked"
|
@@ -123,11 +125,12 @@ Requires-Dist: typing-extensions==4.12.2; extra == "locked"
|
|
123
125
|
Requires-Dist: typing-inspect==0.9.0; extra == "locked"
|
124
126
|
Requires-Dist: uritemplate==4.1.1; extra == "locked"
|
125
127
|
Requires-Dist: urllib3==2.1.0; extra == "locked"
|
126
|
-
Requires-Dist: volcengine-python-sdk==
|
128
|
+
Requires-Dist: volcengine-python-sdk==3.0.10; extra == "locked"
|
127
129
|
Requires-Dist: websocket-client==1.8.0; extra == "locked"
|
128
130
|
Requires-Dist: wsproto==1.2.0; extra == "locked"
|
129
131
|
Requires-Dist: yarl==1.20.0; extra == "locked"
|
130
|
-
Requires-Dist: zhipuai==2.1.5.
|
132
|
+
Requires-Dist: zhipuai==2.1.5.20250526; extra == "locked"
|
133
|
+
Requires-Dist: zstandard==0.23.0; extra == "locked"
|
131
134
|
Description-Content-Type: text/markdown
|
132
135
|
|
133
136
|
# xiaogpt
|
@@ -32,7 +32,7 @@ dependencies = [
|
|
32
32
|
"volcengine-python-sdk>=1.1.5",
|
33
33
|
]
|
34
34
|
dynamic = []
|
35
|
-
version = "3.
|
35
|
+
version = "3.21"
|
36
36
|
|
37
37
|
[project.license]
|
38
38
|
text = "MIT"
|
@@ -45,8 +45,8 @@ xiaogpt = "xiaogpt.cli:main"
|
|
45
45
|
|
46
46
|
[project.optional-dependencies]
|
47
47
|
locked = [
|
48
|
-
"aiohappyeyeballs==2.
|
49
|
-
"aiohttp==3.11
|
48
|
+
"aiohappyeyeballs==2.6.1",
|
49
|
+
"aiohttp==3.12.11",
|
50
50
|
"aiosignal==1.3.1",
|
51
51
|
"annotated-types==0.6.0",
|
52
52
|
"anyio==4.3.0",
|
@@ -56,10 +56,11 @@ locked = [
|
|
56
56
|
"beautifulsoup4==4.13.4",
|
57
57
|
"cachetools==5.3.2",
|
58
58
|
"certifi==2024.2.2",
|
59
|
+
"cffi==1.17.1 ; platform_python_implementation == \"PyPy\"",
|
59
60
|
"charset-normalizer==3.3.2",
|
60
61
|
"click==8.1.7",
|
61
62
|
"colorama==0.4.6 ; platform_system == \"Windows\"",
|
62
|
-
"dashscope==1.23.
|
63
|
+
"dashscope==1.23.4",
|
63
64
|
"dataclasses-json==0.6.3",
|
64
65
|
"distro==1.9.0",
|
65
66
|
"edge-tts==6.1.10",
|
@@ -76,7 +77,7 @@ locked = [
|
|
76
77
|
"google-search-results==2.4.2",
|
77
78
|
"googleapis-common-protos==1.62.0",
|
78
79
|
"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\"",
|
79
|
-
"groq==0.
|
80
|
+
"groq==0.26.0",
|
80
81
|
"grpcio==1.60.0",
|
81
82
|
"grpcio-status==1.60.0",
|
82
83
|
"h11==0.14.0",
|
@@ -90,11 +91,11 @@ locked = [
|
|
90
91
|
"jiter==0.5.0",
|
91
92
|
"jsonpatch==1.33",
|
92
93
|
"jsonpointer==2.4",
|
93
|
-
"langchain==0.3.
|
94
|
-
"langchain-community==0.3.
|
95
|
-
"langchain-core==0.3.
|
94
|
+
"langchain==0.3.25",
|
95
|
+
"langchain-community==0.3.24",
|
96
|
+
"langchain-core==0.3.64",
|
96
97
|
"langchain-text-splitters==0.3.8",
|
97
|
-
"langsmith==0.
|
98
|
+
"langsmith==0.3.45",
|
98
99
|
"lingua-language-detector==2.0.2 ; python_version < \"3.13\"",
|
99
100
|
"markdown-it-py==3.0.0",
|
100
101
|
"marshmallow==3.20.1",
|
@@ -105,8 +106,8 @@ locked = [
|
|
105
106
|
"mypy-extensions==1.0.0",
|
106
107
|
"numexpr==2.10.2",
|
107
108
|
"numpy==1.26.3",
|
108
|
-
"openai==1.
|
109
|
-
"orjson==3.10.0",
|
109
|
+
"openai==1.85.0",
|
110
|
+
"orjson==3.10.0 ; platform_python_implementation != \"PyPy\"",
|
110
111
|
"ormsgpack==1.5.0",
|
111
112
|
"packaging==23.2",
|
112
113
|
"propcache==0.3.1",
|
@@ -114,6 +115,7 @@ locked = [
|
|
114
115
|
"protobuf==4.25.1",
|
115
116
|
"pyasn1==0.5.1",
|
116
117
|
"pyasn1-modules==0.3.0",
|
118
|
+
"pycparser==2.22 ; platform_python_implementation == \"PyPy\"",
|
117
119
|
"pydantic==2.8.2",
|
118
120
|
"pydantic-core==2.20.1",
|
119
121
|
"pydantic-settings==2.5.2",
|
@@ -140,11 +142,12 @@ locked = [
|
|
140
142
|
"typing-inspect==0.9.0",
|
141
143
|
"uritemplate==4.1.1",
|
142
144
|
"urllib3==2.1.0",
|
143
|
-
"volcengine-python-sdk==
|
145
|
+
"volcengine-python-sdk==3.0.10",
|
144
146
|
"websocket-client==1.8.0",
|
145
147
|
"wsproto==1.2.0",
|
146
148
|
"yarl==1.20.0",
|
147
|
-
"zhipuai==2.1.5.
|
149
|
+
"zhipuai==2.1.5.20250526",
|
150
|
+
"zstandard==0.23.0",
|
148
151
|
]
|
149
152
|
|
150
153
|
[tool.pdm]
|
@@ -46,13 +46,6 @@ async def split_sentences(text_stream: AsyncIterator[str]) -> AsyncIterator[str]
|
|
46
46
|
yield cur
|
47
47
|
|
48
48
|
|
49
|
-
### for edge-tts utils ###
|
50
|
-
def find_key_by_partial_string(dictionary: dict[str, str], partial_key: str) -> str:
|
51
|
-
for key, value in dictionary.items():
|
52
|
-
if key in partial_key:
|
53
|
-
return value
|
54
|
-
|
55
|
-
|
56
49
|
def validate_proxy(proxy_str: str) -> bool:
|
57
50
|
"""Do a simple validation of the http proxy string."""
|
58
51
|
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|