swarmauri_tool_sentencecomplexity 0.6.1.dev15__tar.gz → 0.7.0.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.
- {swarmauri_tool_sentencecomplexity-0.6.1.dev15 → swarmauri_tool_sentencecomplexity-0.7.0.dev2}/PKG-INFO +5 -7
- swarmauri_tool_sentencecomplexity-0.7.0.dev2/pyproject.toml +64 -0
- {swarmauri_tool_sentencecomplexity-0.6.1.dev15 → swarmauri_tool_sentencecomplexity-0.7.0.dev2}/swarmauri_tool_sentencecomplexity/SentenceComplexityTool.py +2 -2
- swarmauri_tool_sentencecomplexity-0.6.1.dev15/pyproject.toml +0 -58
- {swarmauri_tool_sentencecomplexity-0.6.1.dev15 → swarmauri_tool_sentencecomplexity-0.7.0.dev2}/LICENSE +0 -0
- {swarmauri_tool_sentencecomplexity-0.6.1.dev15 → swarmauri_tool_sentencecomplexity-0.7.0.dev2}/README.md +0 -0
- {swarmauri_tool_sentencecomplexity-0.6.1.dev15 → swarmauri_tool_sentencecomplexity-0.7.0.dev2}/swarmauri_tool_sentencecomplexity/__init__.py +0 -0
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: swarmauri_tool_sentencecomplexity
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0.dev2
|
|
4
4
|
Summary: This repository includes an example of a First Class Swarmauri Example.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Author: Jacob Stewart
|
|
7
7
|
Author-email: jacob@swarmauri.com
|
|
8
8
|
Requires-Python: >=3.10,<3.13
|
|
9
9
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.10
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
-
Requires-Dist: nltk (>=3.9.1
|
|
15
|
-
Requires-Dist: swarmauri_base
|
|
16
|
-
Requires-Dist: swarmauri_core
|
|
17
|
-
Requires-Dist: swarmauri_standard
|
|
18
|
-
Project-URL: Repository, http://github.com/swarmauri/swarmauri-sdk
|
|
13
|
+
Requires-Dist: nltk (>=3.9.1)
|
|
14
|
+
Requires-Dist: swarmauri_base
|
|
15
|
+
Requires-Dist: swarmauri_core
|
|
16
|
+
Requires-Dist: swarmauri_standard
|
|
19
17
|
Description-Content-Type: text/markdown
|
|
20
18
|
|
|
21
19
|

|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "swarmauri_tool_sentencecomplexity"
|
|
3
|
+
version = "0.7.0.dev2"
|
|
4
|
+
description = "This repository includes an example of a First Class Swarmauri Example."
|
|
5
|
+
license = "Apache-2.0"
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
repository = "http://github.com/swarmauri/swarmauri-sdk"
|
|
8
|
+
requires-python = ">=3.10,<3.13"
|
|
9
|
+
classifiers = [
|
|
10
|
+
"License :: OSI Approved :: Apache Software License",
|
|
11
|
+
"Programming Language :: Python :: 3.10",
|
|
12
|
+
"Programming Language :: Python :: 3.11",
|
|
13
|
+
"Programming Language :: Python :: 3.12",
|
|
14
|
+
]
|
|
15
|
+
authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
|
|
16
|
+
dependencies = [
|
|
17
|
+
"nltk>=3.9.1",
|
|
18
|
+
"swarmauri_core",
|
|
19
|
+
"swarmauri_base",
|
|
20
|
+
"swarmauri_standard",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[tool.uv.sources]
|
|
24
|
+
swarmauri_core = { workspace = true }
|
|
25
|
+
swarmauri_base = { workspace = true }
|
|
26
|
+
swarmauri_standard = { workspace = true }
|
|
27
|
+
|
|
28
|
+
[tool.pytest.ini_options]
|
|
29
|
+
norecursedirs = ["combined", "scripts"]
|
|
30
|
+
markers = [
|
|
31
|
+
"test: standard test",
|
|
32
|
+
"unit: Unit tests",
|
|
33
|
+
"i9n: Integration tests",
|
|
34
|
+
"r8n: Regression tests",
|
|
35
|
+
"timeout: mark test to timeout after X seconds",
|
|
36
|
+
"xpass: Expected passes",
|
|
37
|
+
"xfail: Expected failures",
|
|
38
|
+
"acceptance: Acceptance tests",
|
|
39
|
+
]
|
|
40
|
+
timeout = 300
|
|
41
|
+
log_cli = true
|
|
42
|
+
log_cli_level = "INFO"
|
|
43
|
+
log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
44
|
+
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
45
|
+
asyncio_default_fixture_loop_scope = "function"
|
|
46
|
+
|
|
47
|
+
[tool.project.entry-points."swarmauri.tools"]
|
|
48
|
+
SentenceComplexityTool = "swarmauri_tool_sentencecomplexity.SentenceComplexityTool:SentenceComplexityTool"
|
|
49
|
+
[build-system]
|
|
50
|
+
requires = ["poetry-core>=1.0.0"]
|
|
51
|
+
build-backend = "poetry.core.masonry.api"
|
|
52
|
+
|
|
53
|
+
[dependency-groups]
|
|
54
|
+
dev = [
|
|
55
|
+
"pytest>=8.0",
|
|
56
|
+
"pytest-asyncio>=0.24.0",
|
|
57
|
+
"pytest-xdist>=3.6.1",
|
|
58
|
+
"pytest-json-report>=1.5.0",
|
|
59
|
+
"python-dotenv",
|
|
60
|
+
"requests>=2.32.3",
|
|
61
|
+
"flake8>=7.0",
|
|
62
|
+
"pytest-timeout>=2.3.1",
|
|
63
|
+
"ruff>=0.9.9",
|
|
64
|
+
]
|
|
@@ -5,7 +5,7 @@ from pydantic import Field
|
|
|
5
5
|
|
|
6
6
|
from swarmauri_standard.tools.Parameter import Parameter
|
|
7
7
|
from swarmauri_base.tools.ToolBase import ToolBase
|
|
8
|
-
from
|
|
8
|
+
from swarmauri_base.ComponentBase import ComponentBase
|
|
9
9
|
|
|
10
10
|
nltk.download("punkt_tab", quiet=True)
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@ class SentenceComplexityTool(ToolBase):
|
|
|
17
17
|
default_factory=lambda: [
|
|
18
18
|
Parameter(
|
|
19
19
|
name="text",
|
|
20
|
-
|
|
20
|
+
input_type="string",
|
|
21
21
|
description="The text to analyze for sentence complexity.",
|
|
22
22
|
required=True,
|
|
23
23
|
)
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
[tool.poetry]
|
|
2
|
-
name = "swarmauri_tool_sentencecomplexity"
|
|
3
|
-
version = "0.6.1.dev15"
|
|
4
|
-
description = "This repository includes an example of a First Class Swarmauri Example."
|
|
5
|
-
authors = ["Jacob Stewart <jacob@swarmauri.com>"]
|
|
6
|
-
license = "Apache-2.0"
|
|
7
|
-
readme = "README.md"
|
|
8
|
-
repository = "http://github.com/swarmauri/swarmauri-sdk"
|
|
9
|
-
classifiers = [
|
|
10
|
-
"License :: OSI Approved :: Apache Software License",
|
|
11
|
-
"Programming Language :: Python :: 3.10",
|
|
12
|
-
"Programming Language :: Python :: 3.11",
|
|
13
|
-
"Programming Language :: Python :: 3.12"
|
|
14
|
-
]
|
|
15
|
-
|
|
16
|
-
[tool.poetry.dependencies]
|
|
17
|
-
python = ">=3.10,<3.13"
|
|
18
|
-
|
|
19
|
-
# Swarmauri
|
|
20
|
-
swarmauri_core = {version = "^0.6.1.dev15"}
|
|
21
|
-
swarmauri_base = {version = "^0.6.1.dev15"}
|
|
22
|
-
swarmauri_standard = {version = "^0.6.1.dev2"}
|
|
23
|
-
|
|
24
|
-
# Dependencies
|
|
25
|
-
nltk = "^3.9.1"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
[tool.poetry.group.dev.dependencies]
|
|
29
|
-
flake8 = "^7.0"
|
|
30
|
-
pytest = "^8.0"
|
|
31
|
-
pytest-asyncio = ">=0.24.0"
|
|
32
|
-
pytest-xdist = "^3.6.1"
|
|
33
|
-
pytest-json-report = "^1.5.0"
|
|
34
|
-
python-dotenv = "*"
|
|
35
|
-
requests = "^2.32.3"
|
|
36
|
-
|
|
37
|
-
[build-system]
|
|
38
|
-
requires = ["poetry-core>=1.0.0"]
|
|
39
|
-
build-backend = "poetry.core.masonry.api"
|
|
40
|
-
|
|
41
|
-
[tool.pytest.ini_options]
|
|
42
|
-
norecursedirs = ["combined", "scripts"]
|
|
43
|
-
|
|
44
|
-
markers = [
|
|
45
|
-
"test: standard test",
|
|
46
|
-
"unit: Unit tests",
|
|
47
|
-
"integration: Integration tests",
|
|
48
|
-
"acceptance: Acceptance tests",
|
|
49
|
-
"experimental: Experimental tests"
|
|
50
|
-
]
|
|
51
|
-
log_cli = true
|
|
52
|
-
log_cli_level = "INFO"
|
|
53
|
-
log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
54
|
-
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
55
|
-
asyncio_default_fixture_loop_scope = "function"
|
|
56
|
-
|
|
57
|
-
[tool.poetry.plugins."swarmauri.tools"]
|
|
58
|
-
SentenceComplexityTool = "swarmauri_tool_sentencecomplexity.SentenceComplexityTool:SentenceComplexityTool"
|
|
File without changes
|
|
File without changes
|