npcsh 0.3.27__tar.gz → 0.3.27.1__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 (69) hide show
  1. {npcsh-0.3.27/npcsh.egg-info → npcsh-0.3.27.1}/PKG-INFO +1 -1
  2. {npcsh-0.3.27 → npcsh-0.3.27.1/npcsh.egg-info}/PKG-INFO +1 -1
  3. {npcsh-0.3.27 → npcsh-0.3.27.1}/setup.py +22 -15
  4. {npcsh-0.3.27 → npcsh-0.3.27.1}/LICENSE +0 -0
  5. {npcsh-0.3.27 → npcsh-0.3.27.1}/MANIFEST.in +0 -0
  6. {npcsh-0.3.27 → npcsh-0.3.27.1}/README.md +0 -0
  7. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/__init__.py +0 -0
  8. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/audio.py +0 -0
  9. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/cli.py +0 -0
  10. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/command_history.py +0 -0
  11. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/conversation.py +0 -0
  12. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/data_models.py +0 -0
  13. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/dataframes.py +0 -0
  14. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/embeddings.py +0 -0
  15. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/helpers.py +0 -0
  16. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/image.py +0 -0
  17. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/image_gen.py +0 -0
  18. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/knowledge_graph.py +0 -0
  19. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/llm_funcs.py +0 -0
  20. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/load_data.py +0 -0
  21. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/main.py +0 -0
  22. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/model_runner.py +0 -0
  23. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_compiler.py +0 -0
  24. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_sysenv.py +0 -0
  25. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/assembly_lines/test_pipeline.py +0 -0
  26. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/corca.npc +0 -0
  27. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/foreman.npc +0 -0
  28. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/npcsh.ctx +0 -0
  29. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/sibiji.npc +0 -0
  30. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/analytics/celona.npc +0 -0
  31. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/hr_support/raone.npc +0 -0
  32. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/humanities/eriane.npc +0 -0
  33. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/it_support/lineru.npc +0 -0
  34. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/marketing/slean.npc +0 -0
  35. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/philosophy/maurawa.npc +0 -0
  36. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/sales/turnic.npc +0 -0
  37. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/software/welxor.npc +0 -0
  38. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/calculator.tool +0 -0
  39. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/generic_search.tool +0 -0
  40. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/image_generation.tool +0 -0
  41. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/local_search.tool +0 -0
  42. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/screen_cap.tool +0 -0
  43. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/sql_executor.tool +0 -0
  44. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/plonk.py +0 -0
  45. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/response.py +0 -0
  46. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/search.py +0 -0
  47. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/serve.py +0 -0
  48. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/shell.py +0 -0
  49. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/shell_helpers.py +0 -0
  50. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/stream.py +0 -0
  51. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/video.py +0 -0
  52. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/SOURCES.txt +0 -0
  53. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/dependency_links.txt +0 -0
  54. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/entry_points.txt +0 -0
  55. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/requires.txt +0 -0
  56. {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/top_level.txt +0 -0
  57. {npcsh-0.3.27 → npcsh-0.3.27.1}/setup.cfg +0 -0
  58. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_chromadb.py +0 -0
  59. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_embedding_check.py +0 -0
  60. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_embedding_methods.py +0 -0
  61. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_helpers.py +0 -0
  62. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_knowledge_graph_rag.py +0 -0
  63. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_llm_funcs.py +0 -0
  64. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_networkx_vis.py +0 -0
  65. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_npc_compiler.py +0 -0
  66. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_npcsh.py +0 -0
  67. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_npcteam.py +0 -0
  68. {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_shell_helpers.py +0 -0
  69. {npcsh-0.3.27 → npcsh-0.3.27.1}/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
3
+ Version: 0.3.27.1
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: npcsh
3
- Version: 0.3.27
3
+ Version: 0.3.27.1
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
@@ -1,7 +1,15 @@
1
- from setuptools import setup, find_packages
1
+ # Force lite installation if environment variable is set
2
2
  import os
3
- import site
3
+
4
4
  import sys
5
+
6
+ if os.environ.get("NPCSH_LITE_INSTALL", "").lower() == "true":
7
+
8
+ sys.argv.append("--config-settings")
9
+ sys.argv.append("install.lite=true")
10
+
11
+ from setuptools import setup, find_packages
12
+ import site
5
13
  import platform
6
14
  from pathlib import Path
7
15
 
@@ -89,8 +97,8 @@ core_requirements = [
89
97
  "screeninfo",
90
98
  ]
91
99
 
92
- # Define full requirements
93
- full_requirements = core_requirements + [
100
+ # Define additional requirements for full installation
101
+ extra_requirements = [
94
102
  "sentence_transformers",
95
103
  "opencv-python",
96
104
  "ollama",
@@ -110,22 +118,21 @@ audio_requirements = [
110
118
 
111
119
  extra_files = package_files("npcsh/npc_team/")
112
120
 
113
- # Choose requirements based on environment variables
114
- is_lite = os.environ.get("NPCSH_LITE_INSTALL", "").lower() == "true"
115
- is_audio = os.environ.get("NPCSH_AUDIO_INSTALL", "").lower() == "true"
116
121
 
117
- if is_lite:
118
- requirements = core_requirements
119
- elif is_audio:
120
- requirements = full_requirements + audio_requirements
121
- else:
122
- requirements = full_requirements
122
+ def get_requirements():
123
+ # Check if lite installation was requested via sys.argv
124
+ if any("install.lite=true" in arg for arg in sys.argv):
125
+ return core_requirements
126
+ elif os.environ.get("NPCSH_AUDIO_INSTALL", "").lower() == "true":
127
+ return core_requirements + extra_requirements + audio_requirements
128
+ return core_requirements + extra_requirements
129
+
123
130
 
124
131
  setup(
125
132
  name="npcsh",
126
- version="0.3.27",
133
+ version="0.3.27.1",
127
134
  packages=find_packages(exclude=["tests*"]),
128
- install_requires=requirements,
135
+ install_requires=get_requirements(),
129
136
  entry_points={
130
137
  "console_scripts": [
131
138
  "npcsh=npcsh.shell:main",
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
File without changes
File without changes
File without changes