swarmauri 0.7.2.dev2__tar.gz → 0.7.3.dev2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: swarmauri
3
- Version: 0.7.2.dev2
3
+ Version: 0.7.3.dev2
4
4
  Summary: Namespace package for components, packages, and plugins within the Swarmauri framework.
5
5
  License: Apache-2.0
6
6
  Author: Jacob Stewart
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "swarmauri"
3
- version = "0.7.2.dev2"
3
+ version = "0.7.3.dev2"
4
4
  description = "Namespace package for components, packages, and plugins within the Swarmauri framework."
5
5
  license = "Apache-2.0"
6
6
  readme = "README.md"
@@ -73,6 +73,7 @@ markers = [
73
73
  "xpass: Expected passes",
74
74
  "xfail: Expected failures",
75
75
  "acceptance: Acceptance tests",
76
+ "perf: Performance tests that measure execution time and resource usage",
76
77
  ]
77
78
  timeout = 300
78
79
  log_cli = true
@@ -102,4 +103,5 @@ dev = [
102
103
  "requests>=2.32.3",
103
104
  "flake8>=7.0",
104
105
  "ruff>=0.9.9",
106
+ "pytest-benchmark>=4.0.0",
105
107
  ]
@@ -1,4 +1,4 @@
1
- import sys
1
+ import sys as _sys
2
2
  import logging
3
3
  from .importer import SwarmauriImporter
4
4
  from .plugin_manager import discover_and_register_plugins
@@ -6,9 +6,9 @@ from .plugin_manager import discover_and_register_plugins
6
6
  logger = logging.getLogger(__name__)
7
7
 
8
8
  try:
9
- if not any(isinstance(importer, SwarmauriImporter) for importer in sys.meta_path):
10
- logger.info("Registering SwarmauriImporter in sys.meta_path.")
11
- sys.meta_path.insert(0, SwarmauriImporter())
9
+ if not any(isinstance(importer, SwarmauriImporter) for importer in _sys.meta_path):
10
+ logger.info("Registering SwarmauriImporter in _sys.meta_path.")
11
+ _sys.meta_path.insert(0, SwarmauriImporter())
12
12
  else:
13
13
  logger.info("SwarmauriImporter is already registered.")
14
14
  except Exception as e:
@@ -96,7 +96,7 @@ class PluginCitizenshipRegistry:
96
96
  "swarmauri.embeddings.MistralEmbedding": "swarmauri_standard.embeddings.MistralEmbedding",
97
97
  # "swarmauri.embeddings.NmfEmbedding": "swarmauri_standard.embeddings.NmfEmbedding",
98
98
  "swarmauri.embeddings.OpenAIEmbedding": "swarmauri_standard.embeddings.OpenAIEmbedding",
99
- # "swarmauri.embeddings.TfidfEmbedding": "swarmauri_standard.embeddings.TfidfEmbedding",
99
+ "swarmauri.embeddings.TfidfEmbedding": "swarmauri_standard.embeddings.TfidfEmbedding",
100
100
  "swarmauri.embeddings.VoyageEmbedding": "swarmauri_standard.embeddings.VoyageEmbedding",
101
101
  "swarmauri.exceptions.IndexErrorWithContext": "swarmauri_standard.exceptions.IndexErrorWithContext",
102
102
  "swarmauri.factories.AgentFactory": "swarmauri_standard.factories.AgentFactory",
@@ -261,7 +261,7 @@ class PluginCitizenshipRegistry:
261
261
  # Vector Stores
262
262
  ###
263
263
  "swarmauri.vector_stores.SqliteVectorStore": "swarmauri_standard.vector_stores.SqliteVectorStore",
264
- # "swarmauri.vector_stores.TfidfVectorStore": "swarmauri_standard.vector_stores.TfidfVectorStore",
264
+ "swarmauri.vector_stores.TfidfVectorStore": "swarmauri_standard.vector_stores.TfidfVectorStore",
265
265
  "swarmauri.vectors.Vector": "swarmauri_standard.vectors.Vector",
266
266
  # extra
267
267
  "swarmauri.vector_stores.Doc2vecVectorStore": "swarmauri_vectorstore_doc2vec.Doc2vecVectorStore",
@@ -269,8 +269,6 @@ class PluginCitizenshipRegistry:
269
269
  "swarmauri.tools.MatplotlibCsvTool": "swarmauri_tool_matplotlib.MatplotlibCsvTool",
270
270
  "swarmauri.tools.MatplotlibTool": "swarmauri_tool_matplotlib.MatplotlibTool",
271
271
  "swarmauri.parsers.KeywordExtractorParser": "swarmauri_parser_keywordextractor.KeywordExtractorParser",
272
- "swarmauri.vector_stores.TfidfVectorStore": "swarmauri_vectorstore_tfidf.TfidfVectorStore",
273
- "swarmauri.embeddings.TfidfEmbedding": "swarmauri_embedding_tfidf.TfidfEmbedding",
274
272
  "swarmauri.embeddings.NmfEmbedding": "swarmauri_embedding_nmf.NmfEmbedding",
275
273
  "swarmauri.parsers.BeautifulSoupElementParser": "swarmauri_parser_beautifulsoupelement.BeautifulSoupElementParser",
276
274
  "swarmauri.distances.MinkowskiDistance": "swarmauri_distance_minkowski.MinkowskiDistance",
File without changes
File without changes