npcsh 0.3.27.4__tar.gz → 0.3.27.6__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 (70) hide show
  1. {npcsh-0.3.27.4/npcsh.egg-info → npcsh-0.3.27.6}/PKG-INFO +2 -1
  2. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/shell_helpers.py +11 -3
  3. {npcsh-0.3.27.4 → npcsh-0.3.27.6/npcsh.egg-info}/PKG-INFO +2 -1
  4. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh.egg-info/requires.txt +1 -0
  5. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/setup.py +2 -1
  6. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/LICENSE +0 -0
  7. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/MANIFEST.in +0 -0
  8. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/README.md +0 -0
  9. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/__init__.py +0 -0
  10. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/audio.py +0 -0
  11. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/cli.py +0 -0
  12. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/command_history.py +0 -0
  13. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/conversation.py +0 -0
  14. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/data_models.py +0 -0
  15. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/dataframes.py +0 -0
  16. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/embeddings.py +0 -0
  17. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/helpers.py +0 -0
  18. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/image.py +0 -0
  19. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/image_gen.py +0 -0
  20. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/knowledge_graph.py +0 -0
  21. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/llm_funcs.py +0 -0
  22. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/load_data.py +0 -0
  23. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/main.py +0 -0
  24. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/model_runner.py +0 -0
  25. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_compiler.py +0 -0
  26. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_sysenv.py +0 -0
  27. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/assembly_lines/test_pipeline.py +0 -0
  28. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/corca.npc +0 -0
  29. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/foreman.npc +0 -0
  30. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/npcsh.ctx +0 -0
  31. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/sibiji.npc +0 -0
  32. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/templates/analytics/celona.npc +0 -0
  33. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/templates/hr_support/raone.npc +0 -0
  34. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/templates/humanities/eriane.npc +0 -0
  35. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/templates/it_support/lineru.npc +0 -0
  36. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/templates/marketing/slean.npc +0 -0
  37. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/templates/philosophy/maurawa.npc +0 -0
  38. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/templates/sales/turnic.npc +0 -0
  39. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/templates/software/welxor.npc +0 -0
  40. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/tools/calculator.tool +0 -0
  41. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/tools/generic_search.tool +0 -0
  42. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/tools/image_generation.tool +0 -0
  43. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/tools/local_search.tool +0 -0
  44. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/tools/screen_cap.tool +0 -0
  45. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/npc_team/tools/sql_executor.tool +0 -0
  46. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/plonk.py +0 -0
  47. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/response.py +0 -0
  48. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/search.py +0 -0
  49. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/serve.py +0 -0
  50. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/shell.py +0 -0
  51. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/stream.py +0 -0
  52. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh/video.py +0 -0
  53. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh.egg-info/SOURCES.txt +0 -0
  54. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh.egg-info/dependency_links.txt +0 -0
  55. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh.egg-info/entry_points.txt +0 -0
  56. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/npcsh.egg-info/top_level.txt +0 -0
  57. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/setup.cfg +0 -0
  58. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_chromadb.py +0 -0
  59. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_embedding_check.py +0 -0
  60. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_embedding_methods.py +0 -0
  61. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_helpers.py +0 -0
  62. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_knowledge_graph_rag.py +0 -0
  63. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_llm_funcs.py +0 -0
  64. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_networkx_vis.py +0 -0
  65. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_npc_compiler.py +0 -0
  66. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_npcsh.py +0 -0
  67. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_npcteam.py +0 -0
  68. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_shell_helpers.py +0 -0
  69. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_tars.py +0 -0
  70. {npcsh-0.3.27.4 → npcsh-0.3.27.6}/tests/test_tool_use.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: npcsh
3
- Version: 0.3.27.4
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
@@ -1,6 +1,6 @@
1
1
  import os
2
2
  import pandas as pd
3
- import matplotlib.pyplot as plt
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
- print("Could not load the sentence-transformers package.")
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.4
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
@@ -2,6 +2,7 @@ jinja2
2
2
  scipy
3
3
  numpy
4
4
  requests
5
+ matplotlib
5
6
  markdown
6
7
  PyYAML
7
8
  pygments
@@ -58,6 +58,7 @@ base_requirements = [
58
58
  "scipy",
59
59
  "numpy",
60
60
  "requests",
61
+ "matplotlib",
61
62
  "markdown",
62
63
  "PyYAML",
63
64
  "pygments",
@@ -101,7 +102,7 @@ extra_files = package_files("npcsh/npc_team/")
101
102
 
102
103
  setup(
103
104
  name="npcsh",
104
- version="0.3.27.4",
105
+ version="0.3.27.6",
105
106
  packages=find_packages(exclude=["tests*"]),
106
107
  install_requires=base_requirements, # Only install base requirements by default
107
108
  extras_require={
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
File without changes
File without changes
File without changes
File without changes
File without changes