aient 1.1.58__tar.gz → 1.1.60__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.
- {aient-1.1.58/src/aient.egg-info → aient-1.1.60}/PKG-INFO +15 -18
- aient-1.1.60/aient/models/__init__.py +2 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/excute_command.py +1 -1
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/read_file.py +1 -1
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/websearch.py +1 -1
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/write_file.py +1 -1
- {aient-1.1.58/src → aient-1.1.60}/aient/utils/scripts.py +1 -1
- {aient-1.1.58 → aient-1.1.60/aient.egg-info}/PKG-INFO +15 -18
- aient-1.1.60/aient.egg-info/SOURCES.txt +49 -0
- aient-1.1.60/aient.egg-info/requires.txt +14 -0
- aient-1.1.60/pyproject.toml +26 -0
- aient-1.1.58/MANIFEST.in +0 -1
- aient-1.1.58/setup.py +0 -15
- aient-1.1.58/src/aient/core/.git +0 -1
- aient-1.1.58/src/aient/core/.gitignore +0 -1
- aient-1.1.58/src/aient/models/__init__.py +0 -9
- aient-1.1.58/src/aient/models/claude.py +0 -573
- aient-1.1.58/src/aient/models/duckduckgo.py +0 -241
- aient-1.1.58/src/aient/models/gemini.py +0 -357
- aient-1.1.58/src/aient/models/groq.py +0 -234
- aient-1.1.58/src/aient/models/vertex.py +0 -420
- aient-1.1.58/src/aient.egg-info/SOURCES.txt +0 -77
- aient-1.1.58/src/aient.egg-info/requires.txt +0 -14
- aient-1.1.58/test/test.py +0 -2
- aient-1.1.58/test/test_API.py +0 -6
- aient-1.1.58/test/test_Deepbricks.py +0 -20
- aient-1.1.58/test/test_aiwaves.py +0 -25
- aient-1.1.58/test/test_aiwaves_arxiv.py +0 -19
- aient-1.1.58/test/test_ask_gemini.py +0 -8
- aient-1.1.58/test/test_class.py +0 -17
- aient-1.1.58/test/test_claude.py +0 -23
- aient-1.1.58/test/test_claude_zh_char.py +0 -26
- aient-1.1.58/test/test_download_pdf.py +0 -56
- aient-1.1.58/test/test_gemini.py +0 -97
- aient-1.1.58/test/test_get_token_dict.py +0 -21
- aient-1.1.58/test/test_jieba.py +0 -32
- aient-1.1.58/test/test_json.py +0 -65
- aient-1.1.58/test/test_logging.py +0 -32
- aient-1.1.58/test/test_py_run.py +0 -26
- aient-1.1.58/test/test_requests.py +0 -162
- aient-1.1.58/test/test_tikitoken.py +0 -19
- aient-1.1.58/test/test_token.py +0 -94
- aient-1.1.58/test/test_wildcard.py +0 -20
- {aient-1.1.58 → aient-1.1.60}/LICENSE +0 -0
- {aient-1.1.58 → aient-1.1.60}/README.md +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/__init__.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/__init__.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/log_config.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/models.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/request.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/response.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/test/test_base_api.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/test/test_geminimask.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/test/test_image.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/test/test_payload.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/core/utils.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/models/audio.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/models/base.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/models/chatgpt.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/__init__.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/arXiv.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/config.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/get_time.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/image.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/list_directory.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/read_image.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/readonly.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/registry.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/plugins/run_python.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/utils/__init__.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient/utils/prompt.py +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient.egg-info/dependency_links.txt +0 -0
- {aient-1.1.58/src → aient-1.1.60}/aient.egg-info/top_level.txt +0 -0
- {aient-1.1.58 → aient-1.1.60}/setup.cfg +0 -0
- {aient-1.1.58 → aient-1.1.60}/test/test_Web_crawler.py +0 -0
- {aient-1.1.58 → aient-1.1.60}/test/test_ddg_search.py +0 -0
- {aient-1.1.58 → aient-1.1.60}/test/test_google_search.py +0 -0
- {aient-1.1.58 → aient-1.1.60}/test/test_ollama.py +0 -0
- {aient-1.1.58 → aient-1.1.60}/test/test_plugin.py +0 -0
- {aient-1.1.58 → aient-1.1.60}/test/test_search.py +0 -0
- {aient-1.1.58 → aient-1.1.60}/test/test_url.py +0 -0
- {aient-1.1.58 → aient-1.1.60}/test/test_whisper.py +0 -0
- {aient-1.1.58 → aient-1.1.60}/test/test_yjh.py +0 -0
@@ -1,28 +1,25 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: aient
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.60
|
4
4
|
Summary: Aient: The Awakening of Agent.
|
5
|
+
Requires-Python: >=3.11
|
5
6
|
Description-Content-Type: text/markdown
|
6
7
|
License-File: LICENSE
|
7
|
-
Requires-Dist:
|
8
|
-
Requires-Dist:
|
9
|
-
Requires-Dist: pillow
|
10
|
-
Requires-Dist: msgspec
|
11
|
-
Requires-Dist: fastapi
|
12
|
-
Requires-Dist: chardet
|
13
|
-
Requires-Dist: requests
|
14
|
-
Requires-Dist: html2text
|
15
|
-
Requires-Dist: httpx-socks
|
16
|
-
Requires-Dist: fake-useragent
|
17
|
-
Requires-Dist: beautifulsoup4
|
18
|
-
Requires-Dist: lxml-html-clean
|
19
|
-
Requires-Dist: pdfminer.six==20240706
|
8
|
+
Requires-Dist: beautifulsoup4>=4.13.4
|
9
|
+
Requires-Dist: chardet>=5.2.0
|
20
10
|
Requires-Dist: duckduckgo-search==5.3.1
|
21
|
-
|
22
|
-
|
11
|
+
Requires-Dist: fake-useragent>=2.2.0
|
12
|
+
Requires-Dist: fastapi>=0.116.1
|
13
|
+
Requires-Dist: html2text>=2025.4.15
|
14
|
+
Requires-Dist: httpx>=0.28.1
|
15
|
+
Requires-Dist: httpx-socks>=0.10.1
|
16
|
+
Requires-Dist: lxml-html-clean>=0.4.2
|
17
|
+
Requires-Dist: msgspec>=0.19.0
|
18
|
+
Requires-Dist: pdfminer-six==20240706
|
19
|
+
Requires-Dist: pillow>=11.3.0
|
20
|
+
Requires-Dist: pytz>=2025.2
|
21
|
+
Requires-Dist: requests>=2.32.4
|
23
22
|
Dynamic: license-file
|
24
|
-
Dynamic: requires-dist
|
25
|
-
Dynamic: summary
|
26
23
|
|
27
24
|
# aient
|
28
25
|
|
@@ -276,4 +276,4 @@ for i in content.split("\\n"):
|
|
276
276
|
# print(excute_command(python_long_task_command))
|
277
277
|
|
278
278
|
# print(get_python_executable("python -c 'print(123)'"))
|
279
|
-
# python -m beswarm.aient.
|
279
|
+
# python -m beswarm.aient.aient.plugins.excute_command
|
@@ -181,7 +181,7 @@ Examples:
|
|
181
181
|
return f"<tool_error>读取文件时发生错误: {e}</tool_error>"
|
182
182
|
|
183
183
|
if __name__ == "__main__":
|
184
|
-
# python -m beswarm.aient.
|
184
|
+
# python -m beswarm.aient.aient.plugins.read_file
|
185
185
|
result = read_file("./work/cax/Lenia Notebook.ipynb")
|
186
186
|
print(result)
|
187
187
|
print(len(result))
|
@@ -344,7 +344,7 @@ async def get_search_results(query):
|
|
344
344
|
|
345
345
|
if __name__ == "__main__":
|
346
346
|
os.system("clear")
|
347
|
-
# python -m beswarm.aient.
|
347
|
+
# python -m beswarm.aient.aient.plugins.websearch
|
348
348
|
print(get_url_content(""))
|
349
349
|
# from aient.models import chatgpt
|
350
350
|
# print(get_search_results("今天的微博热搜有哪些?", chatgpt.chatgpt_api_url.v1_url))
|
@@ -1,28 +1,25 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: aient
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.60
|
4
4
|
Summary: Aient: The Awakening of Agent.
|
5
|
+
Requires-Python: >=3.11
|
5
6
|
Description-Content-Type: text/markdown
|
6
7
|
License-File: LICENSE
|
7
|
-
Requires-Dist:
|
8
|
-
Requires-Dist:
|
9
|
-
Requires-Dist: pillow
|
10
|
-
Requires-Dist: msgspec
|
11
|
-
Requires-Dist: fastapi
|
12
|
-
Requires-Dist: chardet
|
13
|
-
Requires-Dist: requests
|
14
|
-
Requires-Dist: html2text
|
15
|
-
Requires-Dist: httpx-socks
|
16
|
-
Requires-Dist: fake-useragent
|
17
|
-
Requires-Dist: beautifulsoup4
|
18
|
-
Requires-Dist: lxml-html-clean
|
19
|
-
Requires-Dist: pdfminer.six==20240706
|
8
|
+
Requires-Dist: beautifulsoup4>=4.13.4
|
9
|
+
Requires-Dist: chardet>=5.2.0
|
20
10
|
Requires-Dist: duckduckgo-search==5.3.1
|
21
|
-
|
22
|
-
|
11
|
+
Requires-Dist: fake-useragent>=2.2.0
|
12
|
+
Requires-Dist: fastapi>=0.116.1
|
13
|
+
Requires-Dist: html2text>=2025.4.15
|
14
|
+
Requires-Dist: httpx>=0.28.1
|
15
|
+
Requires-Dist: httpx-socks>=0.10.1
|
16
|
+
Requires-Dist: lxml-html-clean>=0.4.2
|
17
|
+
Requires-Dist: msgspec>=0.19.0
|
18
|
+
Requires-Dist: pdfminer-six==20240706
|
19
|
+
Requires-Dist: pillow>=11.3.0
|
20
|
+
Requires-Dist: pytz>=2025.2
|
21
|
+
Requires-Dist: requests>=2.32.4
|
23
22
|
Dynamic: license-file
|
24
|
-
Dynamic: requires-dist
|
25
|
-
Dynamic: summary
|
26
23
|
|
27
24
|
# aient
|
28
25
|
|
@@ -0,0 +1,49 @@
|
|
1
|
+
LICENSE
|
2
|
+
README.md
|
3
|
+
pyproject.toml
|
4
|
+
aient/__init__.py
|
5
|
+
aient.egg-info/PKG-INFO
|
6
|
+
aient.egg-info/SOURCES.txt
|
7
|
+
aient.egg-info/dependency_links.txt
|
8
|
+
aient.egg-info/requires.txt
|
9
|
+
aient.egg-info/top_level.txt
|
10
|
+
aient/core/__init__.py
|
11
|
+
aient/core/log_config.py
|
12
|
+
aient/core/models.py
|
13
|
+
aient/core/request.py
|
14
|
+
aient/core/response.py
|
15
|
+
aient/core/utils.py
|
16
|
+
aient/core/test/test_base_api.py
|
17
|
+
aient/core/test/test_geminimask.py
|
18
|
+
aient/core/test/test_image.py
|
19
|
+
aient/core/test/test_payload.py
|
20
|
+
aient/models/__init__.py
|
21
|
+
aient/models/audio.py
|
22
|
+
aient/models/base.py
|
23
|
+
aient/models/chatgpt.py
|
24
|
+
aient/plugins/__init__.py
|
25
|
+
aient/plugins/arXiv.py
|
26
|
+
aient/plugins/config.py
|
27
|
+
aient/plugins/excute_command.py
|
28
|
+
aient/plugins/get_time.py
|
29
|
+
aient/plugins/image.py
|
30
|
+
aient/plugins/list_directory.py
|
31
|
+
aient/plugins/read_file.py
|
32
|
+
aient/plugins/read_image.py
|
33
|
+
aient/plugins/readonly.py
|
34
|
+
aient/plugins/registry.py
|
35
|
+
aient/plugins/run_python.py
|
36
|
+
aient/plugins/websearch.py
|
37
|
+
aient/plugins/write_file.py
|
38
|
+
aient/utils/__init__.py
|
39
|
+
aient/utils/prompt.py
|
40
|
+
aient/utils/scripts.py
|
41
|
+
test/test_Web_crawler.py
|
42
|
+
test/test_ddg_search.py
|
43
|
+
test/test_google_search.py
|
44
|
+
test/test_ollama.py
|
45
|
+
test/test_plugin.py
|
46
|
+
test/test_search.py
|
47
|
+
test/test_url.py
|
48
|
+
test/test_whisper.py
|
49
|
+
test/test_yjh.py
|
@@ -0,0 +1,14 @@
|
|
1
|
+
beautifulsoup4>=4.13.4
|
2
|
+
chardet>=5.2.0
|
3
|
+
duckduckgo-search==5.3.1
|
4
|
+
fake-useragent>=2.2.0
|
5
|
+
fastapi>=0.116.1
|
6
|
+
html2text>=2025.4.15
|
7
|
+
httpx>=0.28.1
|
8
|
+
httpx-socks>=0.10.1
|
9
|
+
lxml-html-clean>=0.4.2
|
10
|
+
msgspec>=0.19.0
|
11
|
+
pdfminer-six==20240706
|
12
|
+
pillow>=11.3.0
|
13
|
+
pytz>=2025.2
|
14
|
+
requests>=2.32.4
|
@@ -0,0 +1,26 @@
|
|
1
|
+
[project]
|
2
|
+
name = "aient"
|
3
|
+
version = "1.1.60"
|
4
|
+
description = "Aient: The Awakening of Agent."
|
5
|
+
readme = "README.md"
|
6
|
+
requires-python = ">=3.11"
|
7
|
+
dependencies = [
|
8
|
+
"beautifulsoup4>=4.13.4",
|
9
|
+
"chardet>=5.2.0",
|
10
|
+
"duckduckgo-search==5.3.1",
|
11
|
+
"fake-useragent>=2.2.0",
|
12
|
+
"fastapi>=0.116.1",
|
13
|
+
"html2text>=2025.4.15",
|
14
|
+
"httpx>=0.28.1",
|
15
|
+
"httpx-socks>=0.10.1",
|
16
|
+
"lxml-html-clean>=0.4.2",
|
17
|
+
"msgspec>=0.19.0",
|
18
|
+
"pdfminer-six==20240706",
|
19
|
+
"pillow>=11.3.0",
|
20
|
+
"pytz>=2025.2",
|
21
|
+
"requests>=2.32.4",
|
22
|
+
]
|
23
|
+
|
24
|
+
[tool.setuptools.packages.find]
|
25
|
+
where = ["."]
|
26
|
+
include = ["aient*"]
|
aient-1.1.58/MANIFEST.in
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
recursive-include src/aient/core *
|
aient-1.1.58/setup.py
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
from pathlib import Path
|
2
|
-
|
3
|
-
from setuptools import setup, find_packages
|
4
|
-
|
5
|
-
setup(
|
6
|
-
name="aient",
|
7
|
-
version="1.1.58",
|
8
|
-
description="Aient: The Awakening of Agent.",
|
9
|
-
long_description=Path.open(Path("README.md"), encoding="utf-8").read(),
|
10
|
-
long_description_content_type="text/markdown",
|
11
|
-
packages=find_packages("src"),
|
12
|
-
package_dir={"": "src"},
|
13
|
-
install_requires=Path.open(Path("requirements.txt"), encoding="utf-8").read().splitlines(),
|
14
|
-
include_package_data=True,
|
15
|
-
)
|
aient-1.1.58/src/aient/core/.git
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
gitdir: ../../../.git/modules/src/aient/core
|
@@ -1 +0,0 @@
|
|
1
|
-
/__pycache__
|