swarmauri_tool_dalechallreadability 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.
@@ -1,21 +1,19 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: swarmauri_tool_dalechallreadability
3
- Version: 0.6.1.dev15
3
+ Version: 0.7.0.dev2
4
4
  Summary: Swarmauri Community Dale-Chall Readability Tool
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: swarmauri_base (>=0.6.1.dev15,<0.7.0)
15
- Requires-Dist: swarmauri_core (>=0.6.1.dev15,<0.7.0)
16
- Requires-Dist: swarmauri_standard (>=0.6.1.dev2,<0.7.0)
17
- Requires-Dist: textstat (>=0.7.4,<0.8.0)
18
- Project-URL: Repository, http://github.com/swarmauri/swarmauri-sdk
13
+ Requires-Dist: swarmauri_base
14
+ Requires-Dist: swarmauri_core
15
+ Requires-Dist: swarmauri_standard
16
+ Requires-Dist: textstat (>=0.7.4)
19
17
  Description-Content-Type: text/markdown
20
18
 
21
19
  ![Swarmauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
@@ -0,0 +1,65 @@
1
+ [project]
2
+ name = "swarmauri_tool_dalechallreadability"
3
+ version = "0.7.0.dev2"
4
+ description = "Swarmauri Community Dale-Chall Readability Tool"
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
+ "textstat>=0.7.4",
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
+ DaleChallReadabilityTool = "swarmauri_tool_dalechallreadability.DaleChallReadabilityTool:DaleChallReadabilityTool"
49
+
50
+ [build-system]
51
+ requires = ["poetry-core>=1.0.0"]
52
+ build-backend = "poetry.core.masonry.api"
53
+
54
+ [dependency-groups]
55
+ dev = [
56
+ "pytest>=8.0",
57
+ "pytest-asyncio>=0.24.0",
58
+ "pytest-xdist>=3.6.1",
59
+ "pytest-json-report>=1.5.0",
60
+ "python-dotenv",
61
+ "requests>=2.32.3",
62
+ "flake8>=7.0",
63
+ "pytest-timeout>=2.3.1",
64
+ "ruff>=0.9.9",
65
+ ]
@@ -2,7 +2,7 @@ import textstat
2
2
  from typing import Any, Dict, List, Literal
3
3
  from swarmauri_base.tools.ToolBase import ToolBase
4
4
  from swarmauri_standard.tools.Parameter import Parameter
5
- from swarmauri_core.ComponentBase import ComponentBase
5
+ from swarmauri_base.ComponentBase import ComponentBase
6
6
 
7
7
 
8
8
  @ComponentBase.register_type(ToolBase, "DaleChallReadabilityTool")
@@ -26,7 +26,7 @@ class DaleChallReadabilityTool(ToolBase):
26
26
  parameters: List[Parameter] = [
27
27
  Parameter(
28
28
  name="input_text",
29
- type="string",
29
+ input_type="string",
30
30
  description="The input text for which to calculate the Dale-Chall Readability Score.",
31
31
  required=True,
32
32
  )
@@ -1,57 +0,0 @@
1
- [tool.poetry]
2
- name = "swarmauri_tool_dalechallreadability"
3
- version = "0.6.1.dev15"
4
- description = "Swarmauri Community Dale-Chall Readability Tool"
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
- textstat = "^0.7.4"
26
-
27
- [tool.poetry.group.dev.dependencies]
28
- flake8 = "^7.0"
29
- pytest = "^8.0"
30
- pytest-asyncio = ">=0.24.0"
31
- pytest-xdist = "^3.6.1"
32
- pytest-json-report = "^1.5.0"
33
- python-dotenv = "*"
34
- requests = "^2.32.3"
35
-
36
- [build-system]
37
- requires = ["poetry-core>=1.0.0"]
38
- build-backend = "poetry.core.masonry.api"
39
-
40
- [tool.pytest.ini_options]
41
- norecursedirs = ["combined", "scripts"]
42
-
43
- markers = [
44
- "test: standard test",
45
- "unit: Unit tests",
46
- "integration: Integration tests",
47
- "acceptance: Acceptance tests",
48
- "experimental: Experimental tests"
49
- ]
50
- log_cli = true
51
- log_cli_level = "INFO"
52
- log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
53
- log_cli_date_format = "%Y-%m-%d %H:%M:%S"
54
- asyncio_default_fixture_loop_scope = "function"
55
-
56
- [tool.poetry.plugins."swarmauri.tools"]
57
- DaleChallReadabilityTool = "swarmauri_tool_dalechallreadability.DaleChallReadabilityTool:DaleChallReadabilityTool"