npcsh 0.3.27.1__py3-none-any.whl → 0.3.27.3__py3-none-any.whl
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.
- npcsh/search.py +5 -1
- {npcsh-0.3.27.1.dist-info → npcsh-0.3.27.3.dist-info}/METADATA +44 -29
- {npcsh-0.3.27.1.dist-info → npcsh-0.3.27.3.dist-info}/RECORD +26 -26
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/calculator.tool +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/celona.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/corca.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/eriane.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/foreman.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/generic_search.tool +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/image_generation.tool +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/lineru.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/local_search.tool +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/maurawa.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/npcsh.ctx +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/raone.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/screen_cap.tool +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/sibiji.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/slean.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/sql_executor.tool +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/test_pipeline.py +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/turnic.npc +0 -0
- {npcsh-0.3.27.1.data → npcsh-0.3.27.3.data}/data/npcsh/npc_team/welxor.npc +0 -0
- {npcsh-0.3.27.1.dist-info → npcsh-0.3.27.3.dist-info}/WHEEL +0 -0
- {npcsh-0.3.27.1.dist-info → npcsh-0.3.27.3.dist-info}/entry_points.txt +0 -0
- {npcsh-0.3.27.1.dist-info → npcsh-0.3.27.3.dist-info}/licenses/LICENSE +0 -0
- {npcsh-0.3.27.1.dist-info → npcsh-0.3.27.3.dist-info}/top_level.txt +0 -0
npcsh/search.py
CHANGED
|
@@ -5,7 +5,11 @@ import os
|
|
|
5
5
|
|
|
6
6
|
from bs4 import BeautifulSoup
|
|
7
7
|
from duckduckgo_search import DDGS
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
try:
|
|
10
|
+
from googlesearch import search
|
|
11
|
+
except:
|
|
12
|
+
pass
|
|
9
13
|
from typing import List, Dict, Any, Optional, Union
|
|
10
14
|
import numpy as np
|
|
11
15
|
import json
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: npcsh
|
|
3
|
-
Version: 0.3.27.
|
|
3
|
+
Version: 0.3.27.3
|
|
4
4
|
Summary: npcsh is a command line tool for integrating LLMs into everyday workflows and for orchestrating teams of NPCs.
|
|
5
5
|
Home-page: https://github.com/cagostino/npcsh
|
|
6
6
|
Author: Christopher Agostino
|
|
@@ -10,44 +10,58 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
10
10
|
Requires-Python: >=3.10
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: redis
|
|
14
|
-
Requires-Dist: flask_sse
|
|
15
|
-
Requires-Dist: anthropic
|
|
16
|
-
Requires-Dist: beautifulsoup4
|
|
17
|
-
Requires-Dist: google-generativeai
|
|
18
|
-
Requires-Dist: google-genai
|
|
19
|
-
Requires-Dist: duckduckgo-search
|
|
20
|
-
Requires-Dist: openai
|
|
21
13
|
Requires-Dist: jinja2
|
|
14
|
+
Requires-Dist: scipy
|
|
15
|
+
Requires-Dist: numpy
|
|
22
16
|
Requires-Dist: requests
|
|
23
17
|
Requires-Dist: markdown
|
|
24
18
|
Requires-Dist: PyYAML
|
|
25
|
-
Requires-Dist: langchain
|
|
26
|
-
Requires-Dist: langchain_community
|
|
27
19
|
Requires-Dist: pygments
|
|
28
20
|
Requires-Dist: termcolor
|
|
29
21
|
Requires-Dist: colorama
|
|
22
|
+
Requires-Dist: Pillow
|
|
30
23
|
Requires-Dist: python-dotenv
|
|
31
|
-
Requires-Dist:
|
|
32
|
-
Requires-Dist:
|
|
24
|
+
Requires-Dist: pandas
|
|
25
|
+
Requires-Dist: beautifulsoup4
|
|
26
|
+
Requires-Dist: duckduckgo-search
|
|
33
27
|
Requires-Dist: flask
|
|
34
28
|
Requires-Dist: flask_cors
|
|
35
|
-
Requires-Dist:
|
|
36
|
-
Requires-Dist:
|
|
37
|
-
|
|
38
|
-
Requires-Dist:
|
|
39
|
-
Requires-Dist:
|
|
40
|
-
Requires-Dist:
|
|
41
|
-
Requires-Dist:
|
|
42
|
-
|
|
43
|
-
Requires-Dist:
|
|
44
|
-
Requires-Dist:
|
|
45
|
-
Requires-Dist:
|
|
46
|
-
Requires-Dist:
|
|
47
|
-
Requires-Dist:
|
|
48
|
-
Requires-Dist:
|
|
49
|
-
|
|
50
|
-
Requires-Dist:
|
|
29
|
+
Requires-Dist: redis
|
|
30
|
+
Requires-Dist: flask_sse
|
|
31
|
+
Provides-Extra: lite
|
|
32
|
+
Requires-Dist: anthropic; extra == "lite"
|
|
33
|
+
Requires-Dist: openai; extra == "lite"
|
|
34
|
+
Requires-Dist: google-generativeai; extra == "lite"
|
|
35
|
+
Requires-Dist: google-genai; extra == "lite"
|
|
36
|
+
Provides-Extra: local
|
|
37
|
+
Requires-Dist: sentence_transformers; extra == "local"
|
|
38
|
+
Requires-Dist: opencv-python; extra == "local"
|
|
39
|
+
Requires-Dist: ollama; extra == "local"
|
|
40
|
+
Requires-Dist: kuzu; extra == "local"
|
|
41
|
+
Requires-Dist: chromadb; extra == "local"
|
|
42
|
+
Requires-Dist: diffusers; extra == "local"
|
|
43
|
+
Provides-Extra: whisper
|
|
44
|
+
Requires-Dist: openai-whisper; extra == "whisper"
|
|
45
|
+
Requires-Dist: pyaudio; extra == "whisper"
|
|
46
|
+
Requires-Dist: gtts; extra == "whisper"
|
|
47
|
+
Requires-Dist: playsound==1.2.2; extra == "whisper"
|
|
48
|
+
Requires-Dist: pyttsx3; extra == "whisper"
|
|
49
|
+
Provides-Extra: all
|
|
50
|
+
Requires-Dist: anthropic; extra == "all"
|
|
51
|
+
Requires-Dist: openai; extra == "all"
|
|
52
|
+
Requires-Dist: google-generativeai; extra == "all"
|
|
53
|
+
Requires-Dist: google-genai; extra == "all"
|
|
54
|
+
Requires-Dist: sentence_transformers; extra == "all"
|
|
55
|
+
Requires-Dist: opencv-python; extra == "all"
|
|
56
|
+
Requires-Dist: ollama; extra == "all"
|
|
57
|
+
Requires-Dist: kuzu; extra == "all"
|
|
58
|
+
Requires-Dist: chromadb; extra == "all"
|
|
59
|
+
Requires-Dist: diffusers; extra == "all"
|
|
60
|
+
Requires-Dist: openai-whisper; extra == "all"
|
|
61
|
+
Requires-Dist: pyaudio; extra == "all"
|
|
62
|
+
Requires-Dist: gtts; extra == "all"
|
|
63
|
+
Requires-Dist: playsound==1.2.2; extra == "all"
|
|
64
|
+
Requires-Dist: pyttsx3; extra == "all"
|
|
51
65
|
Dynamic: author
|
|
52
66
|
Dynamic: author-email
|
|
53
67
|
Dynamic: classifier
|
|
@@ -55,6 +69,7 @@ Dynamic: description
|
|
|
55
69
|
Dynamic: description-content-type
|
|
56
70
|
Dynamic: home-page
|
|
57
71
|
Dynamic: license-file
|
|
72
|
+
Dynamic: provides-extra
|
|
58
73
|
Dynamic: requires-dist
|
|
59
74
|
Dynamic: requires-python
|
|
60
75
|
Dynamic: summary
|
|
@@ -18,7 +18,7 @@ npcsh/npc_compiler.py,sha256=Sij79Fs40WKpMgHiDuBpgY7IWrAlX127p2WXxg9H2os,102026
|
|
|
18
18
|
npcsh/npc_sysenv.py,sha256=g5LPYo8g6jlKd22fWVGghanLCr7tqjxytKvFbu0k-C0,11505
|
|
19
19
|
npcsh/plonk.py,sha256=ewdkX6K1V9kLFkrNsQ5oGXLiuFaLev9mxXBY-B0PKus,9926
|
|
20
20
|
npcsh/response.py,sha256=MQts-xImrEXyXyywBHZHBNYwr_64-Y-7ntCHSJ7CFKU,22389
|
|
21
|
-
npcsh/search.py,sha256=
|
|
21
|
+
npcsh/search.py,sha256=K3AcYlefm_YNWQO_Yq5kTIRFKIIN3xX70CC3z038ox0,8605
|
|
22
22
|
npcsh/serve.py,sha256=Zy47IdaGCt5ziGnQ5KHTQH1K7xXyo7trwUMVDOLNxvU,48246
|
|
23
23
|
npcsh/shell.py,sha256=EFsvNJCW5EYdikkbm0KHQRu0tNFh0HcHB_62k5gqcUI,18218
|
|
24
24
|
npcsh/shell_helpers.py,sha256=AJXNiflF2TSYp_Jcj_-g1McBH2uxziXviq2eVwsZ2tU,95847
|
|
@@ -43,28 +43,28 @@ npcsh/npc_team/tools/image_generation.tool,sha256=CaTkdjxWLFtMAghPvZnToMSwHbMQVu
|
|
|
43
43
|
npcsh/npc_team/tools/local_search.tool,sha256=g9Hc_Xx08fc6lu1IHvdwYU_18KxcOoHDwvIAfrGmn3U,6852
|
|
44
44
|
npcsh/npc_team/tools/screen_cap.tool,sha256=v7l54PWWdgszdd-n_DFqI9nyMlBSeYeNIfQsdFYSZ_4,1389
|
|
45
45
|
npcsh/npc_team/tools/sql_executor.tool,sha256=laEOBoyX2p3dbQpY2HoWnj5IXvxBoZ4kghGMkBwymQA,825
|
|
46
|
-
npcsh-0.3.27.
|
|
47
|
-
npcsh-0.3.27.
|
|
48
|
-
npcsh-0.3.27.
|
|
49
|
-
npcsh-0.3.27.
|
|
50
|
-
npcsh-0.3.27.
|
|
51
|
-
npcsh-0.3.27.
|
|
52
|
-
npcsh-0.3.27.
|
|
53
|
-
npcsh-0.3.27.
|
|
54
|
-
npcsh-0.3.27.
|
|
55
|
-
npcsh-0.3.27.
|
|
56
|
-
npcsh-0.3.27.
|
|
57
|
-
npcsh-0.3.27.
|
|
58
|
-
npcsh-0.3.27.
|
|
59
|
-
npcsh-0.3.27.
|
|
60
|
-
npcsh-0.3.27.
|
|
61
|
-
npcsh-0.3.27.
|
|
62
|
-
npcsh-0.3.27.
|
|
63
|
-
npcsh-0.3.27.
|
|
64
|
-
npcsh-0.3.27.
|
|
65
|
-
npcsh-0.3.27.
|
|
66
|
-
npcsh-0.3.27.
|
|
67
|
-
npcsh-0.3.27.
|
|
68
|
-
npcsh-0.3.27.
|
|
69
|
-
npcsh-0.3.27.
|
|
70
|
-
npcsh-0.3.27.
|
|
46
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/calculator.tool,sha256=ZKmQ0VusuJj8Ib5MDqC8MTDaqWIZCxzpazWPVkYZqYc,197
|
|
47
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/celona.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/corca.npc,sha256=9qs7922thBESU4r5GRygqAjvg9zvhQyMYqqyb4wwSew,662
|
|
49
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/eriane.npc,sha256=5z6L-RjEouEp06SLOzkQoOCEi0eb1K-CxVnvyIbNK3g,299
|
|
50
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/foreman.npc,sha256=WqB8jLfBToGmr8c1vip1KOnTHxfXlGXwDUGnZoDMQr0,327
|
|
51
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/generic_search.tool,sha256=sYA4aUuZm84vpx-5tNi6ADq9ywHaj_YfLt6PI0ZblUo,745
|
|
52
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/image_generation.tool,sha256=CaTkdjxWLFtMAghPvZnToMSwHbMQVusojhd9R9jybmI,577
|
|
53
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/lineru.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/local_search.tool,sha256=g9Hc_Xx08fc6lu1IHvdwYU_18KxcOoHDwvIAfrGmn3U,6852
|
|
55
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/maurawa.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
56
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/npcsh.ctx,sha256=VOd7omCBo_764gKCYuHxJcyVc61oC5YjB7rnCbDhnYU,275
|
|
57
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/raone.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/screen_cap.tool,sha256=v7l54PWWdgszdd-n_DFqI9nyMlBSeYeNIfQsdFYSZ_4,1389
|
|
59
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/sibiji.npc,sha256=MJZHU9xXmvUbZvwpX1wWinvkrwYiKm1J63t37l0EYGE,202
|
|
60
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/slean.npc,sha256=to3-d7qWMzhrYAeXalzNqVdt_3wROFGEfhprVXDttos,326
|
|
61
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/sql_executor.tool,sha256=laEOBoyX2p3dbQpY2HoWnj5IXvxBoZ4kghGMkBwymQA,825
|
|
62
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/test_pipeline.py,sha256=GKIcqw0fXDHsUDfMvu7GTj5cfPnqs7aX5xxiKPs2xCc,5657
|
|
63
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/turnic.npc,sha256=odTFzQTN01-xaWXvjoC698htaFi6mvrzfKMAob8Yqb0,335
|
|
64
|
+
npcsh-0.3.27.3.data/data/npcsh/npc_team/welxor.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
65
|
+
npcsh-0.3.27.3.dist-info/licenses/LICENSE,sha256=j0YPvce7Ng9e32zYOu0EmXjXeJ0Nwawd0RA3uSGGH4E,1070
|
|
66
|
+
npcsh-0.3.27.3.dist-info/METADATA,sha256=pCeYOSy5S1aFjcZbbQB0IUtiL_ka92wj77u_hqIrLAI,81249
|
|
67
|
+
npcsh-0.3.27.3.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
68
|
+
npcsh-0.3.27.3.dist-info/entry_points.txt,sha256=Y2rAM_m1er_Effxc0DXtGh36sC1FOUfefqGAt6vEte0,64
|
|
69
|
+
npcsh-0.3.27.3.dist-info/top_level.txt,sha256=kHSNgKMCkfjV95-DH0YSp1LLBi0HXdF3w57j7MQON3E,6
|
|
70
|
+
npcsh-0.3.27.3.dist-info/RECORD,,
|
|
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
|