npcsh 0.3.27.4__py3-none-any.whl → 0.3.27.6__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/shell_helpers.py +11 -3
- {npcsh-0.3.27.4.dist-info → npcsh-0.3.27.6.dist-info}/METADATA +2 -1
- {npcsh-0.3.27.4.dist-info → npcsh-0.3.27.6.dist-info}/RECORD +26 -26
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/calculator.tool +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/celona.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/corca.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/eriane.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/foreman.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/generic_search.tool +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/image_generation.tool +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/lineru.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/local_search.tool +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/maurawa.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/npcsh.ctx +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/raone.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/screen_cap.tool +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/sibiji.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/slean.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/sql_executor.tool +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/test_pipeline.py +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/turnic.npc +0 -0
- {npcsh-0.3.27.4.data → npcsh-0.3.27.6.data}/data/npcsh/npc_team/welxor.npc +0 -0
- {npcsh-0.3.27.4.dist-info → npcsh-0.3.27.6.dist-info}/WHEEL +0 -0
- {npcsh-0.3.27.4.dist-info → npcsh-0.3.27.6.dist-info}/entry_points.txt +0 -0
- {npcsh-0.3.27.4.dist-info → npcsh-0.3.27.6.dist-info}/licenses/LICENSE +0 -0
- {npcsh-0.3.27.4.dist-info → npcsh-0.3.27.6.dist-info}/top_level.txt +0 -0
npcsh/shell_helpers.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import pandas as pd
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
from typing import Dict, Any, List, Optional, Union
|
|
5
5
|
import numpy as np
|
|
6
6
|
import readline
|
|
@@ -24,12 +24,20 @@ import select
|
|
|
24
24
|
import signal
|
|
25
25
|
import time
|
|
26
26
|
|
|
27
|
-
import whisper
|
|
28
27
|
|
|
28
|
+
try:
|
|
29
|
+
import whisper
|
|
30
|
+
except:
|
|
31
|
+
print(
|
|
32
|
+
"Could not load the whisper package. If you want to use tts/stt features, please run `pip install npcsh[audio]` and follow the instructions in the npcsh github readme to ensure your OS can handle the audio dependencies."
|
|
33
|
+
)
|
|
29
34
|
try:
|
|
30
35
|
from sentence_transformers import SentenceTransformer
|
|
31
36
|
except:
|
|
32
|
-
|
|
37
|
+
|
|
38
|
+
print(
|
|
39
|
+
"Could not load the sentence-transformers package. If you want to use it or other local AI features, please run `pip install npcsh[local]` ."
|
|
40
|
+
)
|
|
33
41
|
|
|
34
42
|
from .load_data import load_pdf, load_csv, load_json, load_excel, load_txt, load_image
|
|
35
43
|
from .npc_sysenv import (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: npcsh
|
|
3
|
-
Version: 0.3.27.
|
|
3
|
+
Version: 0.3.27.6
|
|
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
|
|
@@ -14,6 +14,7 @@ Requires-Dist: jinja2
|
|
|
14
14
|
Requires-Dist: scipy
|
|
15
15
|
Requires-Dist: numpy
|
|
16
16
|
Requires-Dist: requests
|
|
17
|
+
Requires-Dist: matplotlib
|
|
17
18
|
Requires-Dist: markdown
|
|
18
19
|
Requires-Dist: PyYAML
|
|
19
20
|
Requires-Dist: pygments
|
|
@@ -21,7 +21,7 @@ npcsh/response.py,sha256=MQts-xImrEXyXyywBHZHBNYwr_64-Y-7ntCHSJ7CFKU,22389
|
|
|
21
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
|
-
npcsh/shell_helpers.py,sha256=
|
|
24
|
+
npcsh/shell_helpers.py,sha256=Y0ZSR5AK5QovlJUF5WcqOwaIeCwZxM-LDo2ukPlDA8c,96185
|
|
25
25
|
npcsh/stream.py,sha256=gEwanrb5g4Fmu10fVN-3Gu_i434GWtE6zNZrhjQJ6EA,21995
|
|
26
26
|
npcsh/video.py,sha256=Fv9Sii6LIEOI6D_1eoEu7DA8Es3mUYxEPcX3dac2Lt0,1935
|
|
27
27
|
npcsh/npc_team/corca.npc,sha256=9qs7922thBESU4r5GRygqAjvg9zvhQyMYqqyb4wwSew,662
|
|
@@ -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.6.data/data/npcsh/npc_team/calculator.tool,sha256=ZKmQ0VusuJj8Ib5MDqC8MTDaqWIZCxzpazWPVkYZqYc,197
|
|
47
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/celona.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/corca.npc,sha256=9qs7922thBESU4r5GRygqAjvg9zvhQyMYqqyb4wwSew,662
|
|
49
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/eriane.npc,sha256=5z6L-RjEouEp06SLOzkQoOCEi0eb1K-CxVnvyIbNK3g,299
|
|
50
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/foreman.npc,sha256=WqB8jLfBToGmr8c1vip1KOnTHxfXlGXwDUGnZoDMQr0,327
|
|
51
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/generic_search.tool,sha256=sYA4aUuZm84vpx-5tNi6ADq9ywHaj_YfLt6PI0ZblUo,745
|
|
52
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/image_generation.tool,sha256=CaTkdjxWLFtMAghPvZnToMSwHbMQVusojhd9R9jybmI,577
|
|
53
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/lineru.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/local_search.tool,sha256=g9Hc_Xx08fc6lu1IHvdwYU_18KxcOoHDwvIAfrGmn3U,6852
|
|
55
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/maurawa.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
56
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/npcsh.ctx,sha256=VOd7omCBo_764gKCYuHxJcyVc61oC5YjB7rnCbDhnYU,275
|
|
57
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/raone.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/screen_cap.tool,sha256=v7l54PWWdgszdd-n_DFqI9nyMlBSeYeNIfQsdFYSZ_4,1389
|
|
59
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/sibiji.npc,sha256=MJZHU9xXmvUbZvwpX1wWinvkrwYiKm1J63t37l0EYGE,202
|
|
60
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/slean.npc,sha256=to3-d7qWMzhrYAeXalzNqVdt_3wROFGEfhprVXDttos,326
|
|
61
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/sql_executor.tool,sha256=laEOBoyX2p3dbQpY2HoWnj5IXvxBoZ4kghGMkBwymQA,825
|
|
62
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/test_pipeline.py,sha256=GKIcqw0fXDHsUDfMvu7GTj5cfPnqs7aX5xxiKPs2xCc,5657
|
|
63
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/turnic.npc,sha256=odTFzQTN01-xaWXvjoC698htaFi6mvrzfKMAob8Yqb0,335
|
|
64
|
+
npcsh-0.3.27.6.data/data/npcsh/npc_team/welxor.npc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
65
|
+
npcsh-0.3.27.6.dist-info/licenses/LICENSE,sha256=j0YPvce7Ng9e32zYOu0EmXjXeJ0Nwawd0RA3uSGGH4E,1070
|
|
66
|
+
npcsh-0.3.27.6.dist-info/METADATA,sha256=TpmOER0rX6dqkgn8ORpziLUAagXEmGAA_UiYmbrDpFs,81349
|
|
67
|
+
npcsh-0.3.27.6.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
68
|
+
npcsh-0.3.27.6.dist-info/entry_points.txt,sha256=Y2rAM_m1er_Effxc0DXtGh36sC1FOUfefqGAt6vEte0,64
|
|
69
|
+
npcsh-0.3.27.6.dist-info/top_level.txt,sha256=kHSNgKMCkfjV95-DH0YSp1LLBi0HXdF3w57j7MQON3E,6
|
|
70
|
+
npcsh-0.3.27.6.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
|