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.
Files changed (83) hide show
  1. {aient-1.1.58/src/aient.egg-info → aient-1.1.60}/PKG-INFO +15 -18
  2. aient-1.1.60/aient/models/__init__.py +2 -0
  3. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/excute_command.py +1 -1
  4. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/read_file.py +1 -1
  5. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/websearch.py +1 -1
  6. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/write_file.py +1 -1
  7. {aient-1.1.58/src → aient-1.1.60}/aient/utils/scripts.py +1 -1
  8. {aient-1.1.58 → aient-1.1.60/aient.egg-info}/PKG-INFO +15 -18
  9. aient-1.1.60/aient.egg-info/SOURCES.txt +49 -0
  10. aient-1.1.60/aient.egg-info/requires.txt +14 -0
  11. aient-1.1.60/pyproject.toml +26 -0
  12. aient-1.1.58/MANIFEST.in +0 -1
  13. aient-1.1.58/setup.py +0 -15
  14. aient-1.1.58/src/aient/core/.git +0 -1
  15. aient-1.1.58/src/aient/core/.gitignore +0 -1
  16. aient-1.1.58/src/aient/models/__init__.py +0 -9
  17. aient-1.1.58/src/aient/models/claude.py +0 -573
  18. aient-1.1.58/src/aient/models/duckduckgo.py +0 -241
  19. aient-1.1.58/src/aient/models/gemini.py +0 -357
  20. aient-1.1.58/src/aient/models/groq.py +0 -234
  21. aient-1.1.58/src/aient/models/vertex.py +0 -420
  22. aient-1.1.58/src/aient.egg-info/SOURCES.txt +0 -77
  23. aient-1.1.58/src/aient.egg-info/requires.txt +0 -14
  24. aient-1.1.58/test/test.py +0 -2
  25. aient-1.1.58/test/test_API.py +0 -6
  26. aient-1.1.58/test/test_Deepbricks.py +0 -20
  27. aient-1.1.58/test/test_aiwaves.py +0 -25
  28. aient-1.1.58/test/test_aiwaves_arxiv.py +0 -19
  29. aient-1.1.58/test/test_ask_gemini.py +0 -8
  30. aient-1.1.58/test/test_class.py +0 -17
  31. aient-1.1.58/test/test_claude.py +0 -23
  32. aient-1.1.58/test/test_claude_zh_char.py +0 -26
  33. aient-1.1.58/test/test_download_pdf.py +0 -56
  34. aient-1.1.58/test/test_gemini.py +0 -97
  35. aient-1.1.58/test/test_get_token_dict.py +0 -21
  36. aient-1.1.58/test/test_jieba.py +0 -32
  37. aient-1.1.58/test/test_json.py +0 -65
  38. aient-1.1.58/test/test_logging.py +0 -32
  39. aient-1.1.58/test/test_py_run.py +0 -26
  40. aient-1.1.58/test/test_requests.py +0 -162
  41. aient-1.1.58/test/test_tikitoken.py +0 -19
  42. aient-1.1.58/test/test_token.py +0 -94
  43. aient-1.1.58/test/test_wildcard.py +0 -20
  44. {aient-1.1.58 → aient-1.1.60}/LICENSE +0 -0
  45. {aient-1.1.58 → aient-1.1.60}/README.md +0 -0
  46. {aient-1.1.58/src → aient-1.1.60}/aient/__init__.py +0 -0
  47. {aient-1.1.58/src → aient-1.1.60}/aient/core/__init__.py +0 -0
  48. {aient-1.1.58/src → aient-1.1.60}/aient/core/log_config.py +0 -0
  49. {aient-1.1.58/src → aient-1.1.60}/aient/core/models.py +0 -0
  50. {aient-1.1.58/src → aient-1.1.60}/aient/core/request.py +0 -0
  51. {aient-1.1.58/src → aient-1.1.60}/aient/core/response.py +0 -0
  52. {aient-1.1.58/src → aient-1.1.60}/aient/core/test/test_base_api.py +0 -0
  53. {aient-1.1.58/src → aient-1.1.60}/aient/core/test/test_geminimask.py +0 -0
  54. {aient-1.1.58/src → aient-1.1.60}/aient/core/test/test_image.py +0 -0
  55. {aient-1.1.58/src → aient-1.1.60}/aient/core/test/test_payload.py +0 -0
  56. {aient-1.1.58/src → aient-1.1.60}/aient/core/utils.py +0 -0
  57. {aient-1.1.58/src → aient-1.1.60}/aient/models/audio.py +0 -0
  58. {aient-1.1.58/src → aient-1.1.60}/aient/models/base.py +0 -0
  59. {aient-1.1.58/src → aient-1.1.60}/aient/models/chatgpt.py +0 -0
  60. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/__init__.py +0 -0
  61. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/arXiv.py +0 -0
  62. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/config.py +0 -0
  63. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/get_time.py +0 -0
  64. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/image.py +0 -0
  65. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/list_directory.py +0 -0
  66. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/read_image.py +0 -0
  67. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/readonly.py +0 -0
  68. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/registry.py +0 -0
  69. {aient-1.1.58/src → aient-1.1.60}/aient/plugins/run_python.py +0 -0
  70. {aient-1.1.58/src → aient-1.1.60}/aient/utils/__init__.py +0 -0
  71. {aient-1.1.58/src → aient-1.1.60}/aient/utils/prompt.py +0 -0
  72. {aient-1.1.58/src → aient-1.1.60}/aient.egg-info/dependency_links.txt +0 -0
  73. {aient-1.1.58/src → aient-1.1.60}/aient.egg-info/top_level.txt +0 -0
  74. {aient-1.1.58 → aient-1.1.60}/setup.cfg +0 -0
  75. {aient-1.1.58 → aient-1.1.60}/test/test_Web_crawler.py +0 -0
  76. {aient-1.1.58 → aient-1.1.60}/test/test_ddg_search.py +0 -0
  77. {aient-1.1.58 → aient-1.1.60}/test/test_google_search.py +0 -0
  78. {aient-1.1.58 → aient-1.1.60}/test/test_ollama.py +0 -0
  79. {aient-1.1.58 → aient-1.1.60}/test/test_plugin.py +0 -0
  80. {aient-1.1.58 → aient-1.1.60}/test/test_search.py +0 -0
  81. {aient-1.1.58 → aient-1.1.60}/test/test_url.py +0 -0
  82. {aient-1.1.58 → aient-1.1.60}/test/test_whisper.py +0 -0
  83. {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.58
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: pytz
8
- Requires-Dist: httpx
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
- Dynamic: description
22
- Dynamic: description-content-type
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,2 @@
1
+ from .chatgpt import *
2
+ from .audio import *
@@ -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.src.aient.plugins.excute_command
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.src.aient.plugins.read_file
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.src.aient.plugins.websearch
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))
@@ -87,4 +87,4 @@ if __name__ == "__main__":
87
87
  with open("test.txt", "r", encoding="utf-8") as file:
88
88
  content = file.read()
89
89
  print(write_to_file("test.txt", content))
90
- # python -m beswarm.aient.src.aient.plugins.write_file
90
+ # python -m beswarm.aient.aient.plugins.write_file
@@ -1050,4 +1050,4 @@ if __name__ == "__main__":
1050
1050
  # print(parse_function_xml(test_xml))
1051
1051
  print(remove_xml_tags_and_content(test_xml))
1052
1052
 
1053
- # 运行本文件:python -m beswarm.aient.src.aient.utils.scripts
1053
+ # 运行本文件:python -m beswarm.aient.aient.utils.scripts
@@ -1,28 +1,25 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aient
3
- Version: 1.1.58
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: pytz
8
- Requires-Dist: httpx
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
- Dynamic: description
22
- Dynamic: description-content-type
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
- )
@@ -1 +0,0 @@
1
- gitdir: ../../../.git/modules/src/aient/core
@@ -1 +0,0 @@
1
- /__pycache__
@@ -1,9 +0,0 @@
1
- from .chatgpt import *
2
- from .claude import *
3
- from .gemini import *
4
- from .vertex import *
5
- from .groq import *
6
- from .audio import *
7
- from .duckduckgo import *
8
-
9
- # __all__ = ["chatgpt", "claude", "claude3", "gemini", "groq"]