griptape-nodes 0.64.10__py3-none-any.whl → 0.64.11__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.
@@ -145,6 +145,9 @@ if TYPE_CHECKING:
145
145
  logger = logging.getLogger("griptape_nodes")
146
146
  console = Console()
147
147
 
148
+ # Directories to exclude when scanning for Python source files (in addition to any directory starting with '.')
149
+ EXCLUDED_SCAN_DIRECTORIES = frozenset({"venv", "__pycache__"})
150
+
148
151
  TRegisteredEventData = TypeVar("TRegisteredEventData")
149
152
 
150
153
 
@@ -2136,8 +2139,13 @@ class LibraryManager:
2136
2139
  self._library_file_path_to_info[sandbox_library_dir_as_posix] = library_load_results
2137
2140
 
2138
2141
  def _find_files_in_dir(self, directory: Path, extension: str) -> list[Path]:
2142
+ """Find all files with given extension in directory, excluding common non-source directories."""
2139
2143
  ret_val = []
2140
- for root, _, files_found in os.walk(directory):
2144
+ for root, dirs, files_found in os.walk(directory):
2145
+ # Modify dirs in-place to skip excluded directories
2146
+ # Also skip any directory starting with '.'
2147
+ dirs[:] = [d for d in dirs if d not in EXCLUDED_SCAN_DIRECTORIES and not d.startswith(".")]
2148
+
2141
2149
  for file in files_found:
2142
2150
  if file.endswith(extension):
2143
2151
  file_path = Path(root) / file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: griptape-nodes
3
- Version: 0.64.10
3
+ Version: 0.64.11
4
4
  Summary: Add your description here
5
5
  Requires-Dist: griptape>=1.8.12
6
6
  Requires-Dist: pydantic>=2.10.6
@@ -200,7 +200,7 @@ griptape_nodes/retained_mode/managers/library_lifecycle/library_provenance/packa
200
200
  griptape_nodes/retained_mode/managers/library_lifecycle/library_provenance/sandbox.py,sha256=XgG7whE74zWDxX1pOvhASW0pwjOei1EDLvIH19xdzT0,6117
201
201
  griptape_nodes/retained_mode/managers/library_lifecycle/library_provenance.py,sha256=cCGr-MQ1RlVBiUTZepYEKdVhPgC4ebcYrmpv8rI3VeM,894
202
202
  griptape_nodes/retained_mode/managers/library_lifecycle/library_status.py,sha256=K3UEBzAdCY9wphyBbLxDYP0Q43aYvhLZ_Pz7_SzcPec,443
203
- griptape_nodes/retained_mode/managers/library_manager.py,sha256=K-ecoe0xbcjrBesX2qI-wSZUF47pR_Hwdk4n0Iiv5L8,108958
203
+ griptape_nodes/retained_mode/managers/library_manager.py,sha256=lyydT5mKzcVvpuQ0-fLN8c316zLSBFYci5f86d1s-6U,109467
204
204
  griptape_nodes/retained_mode/managers/mcp_manager.py,sha256=Ezmn5_48r4JWYe-tFGqmw9dXLvvTiO1rw9b4MNCkw0U,15955
205
205
  griptape_nodes/retained_mode/managers/model_manager.py,sha256=XM4PaSCe2_e8ZzhpKBf6h0cTW3OqkC_unBvwBDdBNkU,44825
206
206
  griptape_nodes/retained_mode/managers/node_manager.py,sha256=YZOLe4pDw0dgZTN8JaYHuR4thAsBrJDo8QMT2MNzOBE,212108
@@ -266,7 +266,7 @@ griptape_nodes/version_compatibility/versions/v0_63_8/__init__.py,sha256=1VJswR2
266
266
  griptape_nodes/version_compatibility/versions/v0_63_8/deprecated_nodegroup_parameters.py,sha256=9NkyGJY4OHglQUUrAyhTHTQ6aGww7dqB1PozzHcNjEQ,4394
267
267
  griptape_nodes/version_compatibility/versions/v0_7_0/__init__.py,sha256=IzPPmGK86h2swfGGTOHyVcBIlOng6SjgWQzlbf3ngmo,51
268
268
  griptape_nodes/version_compatibility/versions/v0_7_0/local_executor_argument_addition.py,sha256=Thx8acnbw5OychhwEEj9aFxvbPe7Wgn4V9ZmZ7KRZqc,2082
269
- griptape_nodes-0.64.10.dist-info/WHEEL,sha256=3id4o64OvRm9dUknh3mMJNcfoTRK08ua5cU6DFyVy-4,79
270
- griptape_nodes-0.64.10.dist-info/entry_points.txt,sha256=qvevqd3BVbAV5TcantnAm0ouqaqYKhsRO3pkFymWLWM,82
271
- griptape_nodes-0.64.10.dist-info/METADATA,sha256=CImmrnDT_8C86HPNtZCQBG6Vzkz1eBBa7QpKeDTB6b4,5345
272
- griptape_nodes-0.64.10.dist-info/RECORD,,
269
+ griptape_nodes-0.64.11.dist-info/WHEEL,sha256=ePp19eyRASTHUPCpRsqjeFjsybXoCLYnd2O6QHdRRAY,79
270
+ griptape_nodes-0.64.11.dist-info/entry_points.txt,sha256=qvevqd3BVbAV5TcantnAm0ouqaqYKhsRO3pkFymWLWM,82
271
+ griptape_nodes-0.64.11.dist-info/METADATA,sha256=S3PJ1IGFaYx2re89CP41OxU5FNoGkN6oprZC2YY-bkk,5345
272
+ griptape_nodes-0.64.11.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.9.13
2
+ Generator: uv 0.9.14
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any