swarmauri_tool_lexicaldensity 0.6.1.dev16__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_lexicaldensity-0.6.1.dev16 → swarmauri_tool_lexicaldensity-0.7.0.dev2}/PKG-INFO +6 -8
- swarmauri_tool_lexicaldensity-0.7.0.dev2/pyproject.toml +65 -0
- {swarmauri_tool_lexicaldensity-0.6.1.dev16 → swarmauri_tool_lexicaldensity-0.7.0.dev2}/swarmauri_tool_lexicaldensity/LexicalDensityTool.py +2 -2
- swarmauri_tool_lexicaldensity-0.6.1.dev16/pyproject.toml +0 -59
- {swarmauri_tool_lexicaldensity-0.6.1.dev16 → swarmauri_tool_lexicaldensity-0.7.0.dev2}/LICENSE +0 -0
- {swarmauri_tool_lexicaldensity-0.6.1.dev16 → swarmauri_tool_lexicaldensity-0.7.0.dev2}/README.md +0 -0
- {swarmauri_tool_lexicaldensity-0.6.1.dev16 → swarmauri_tool_lexicaldensity-0.7.0.dev2}/swarmauri_tool_lexicaldensity/__init__.py +0 -0
{swarmauri_tool_lexicaldensity-0.6.1.dev16 → swarmauri_tool_lexicaldensity-0.7.0.dev2}/PKG-INFO
RENAMED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: swarmauri_tool_lexicaldensity
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0.dev2
|
|
4
4
|
Summary: Lexical Density Tool for Swarmauri.
|
|
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
|
-
Requires-Dist: textstat (>=0.7.4
|
|
19
|
-
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
|
|
17
|
+
Requires-Dist: textstat (>=0.7.4)
|
|
20
18
|
Description-Content-Type: text/markdown
|
|
21
19
|
|
|
22
20
|

|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "swarmauri_tool_lexicaldensity"
|
|
3
|
+
version = "0.7.0.dev2"
|
|
4
|
+
description = "Lexical Density Tool for Swarmauri."
|
|
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
|
+
"nltk>=3.9.1",
|
|
19
|
+
"swarmauri_core",
|
|
20
|
+
"swarmauri_base",
|
|
21
|
+
"swarmauri_standard",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[tool.uv.sources]
|
|
25
|
+
swarmauri_core = { workspace = true }
|
|
26
|
+
swarmauri_base = { workspace = true }
|
|
27
|
+
swarmauri_standard = { workspace = true }
|
|
28
|
+
|
|
29
|
+
[tool.pytest.ini_options]
|
|
30
|
+
norecursedirs = ["combined", "scripts"]
|
|
31
|
+
markers = [
|
|
32
|
+
"test: standard test",
|
|
33
|
+
"unit: Unit tests",
|
|
34
|
+
"i9n: Integration tests",
|
|
35
|
+
"r8n: Regression tests",
|
|
36
|
+
"timeout: mark test to timeout after X seconds",
|
|
37
|
+
"xpass: Expected passes",
|
|
38
|
+
"xfail: Expected failures",
|
|
39
|
+
"acceptance: Acceptance tests",
|
|
40
|
+
]
|
|
41
|
+
timeout = 300
|
|
42
|
+
log_cli = true
|
|
43
|
+
log_cli_level = "INFO"
|
|
44
|
+
log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
45
|
+
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
46
|
+
asyncio_default_fixture_loop_scope = "function"
|
|
47
|
+
|
|
48
|
+
[tool.project.entry-points."swarmauri.tools"]
|
|
49
|
+
LexicalDensityTool = "swarmauri_tool_lexicaldensity.LexicalDensityTool:LexicalDensityTool"
|
|
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
|
+
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import nltk
|
|
2
|
-
from
|
|
2
|
+
from swarmauri_base.ComponentBase import ComponentBase
|
|
3
3
|
import textstat
|
|
4
4
|
from typing import List, Literal, Dict
|
|
5
5
|
from pydantic import Field
|
|
@@ -18,7 +18,7 @@ class LexicalDensityTool(ToolBase):
|
|
|
18
18
|
default_factory=lambda: [
|
|
19
19
|
Parameter(
|
|
20
20
|
name="text",
|
|
21
|
-
|
|
21
|
+
input_type="string",
|
|
22
22
|
description="The text for which to calculate the Lexical Density.",
|
|
23
23
|
required=True,
|
|
24
24
|
)
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
[tool.poetry]
|
|
2
|
-
name = "swarmauri_tool_lexicaldensity"
|
|
3
|
-
version = "0.6.1.dev16"
|
|
4
|
-
description = "Lexical Density Tool for Swarmauri."
|
|
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.dev16"}
|
|
21
|
-
swarmauri_base = {version = "^0.6.1.dev16"}
|
|
22
|
-
swarmauri_standard = {version = "^0.6.1.dev3"}
|
|
23
|
-
|
|
24
|
-
# Dependencies
|
|
25
|
-
textstat = "^0.7.4"
|
|
26
|
-
nltk = "^3.9.1"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
[tool.poetry.group.dev.dependencies]
|
|
30
|
-
flake8 = "^7.0"
|
|
31
|
-
pytest = "^8.0"
|
|
32
|
-
pytest-asyncio = ">=0.24.0"
|
|
33
|
-
pytest-xdist = "^3.6.1"
|
|
34
|
-
pytest-json-report = "^1.5.0"
|
|
35
|
-
python-dotenv = "*"
|
|
36
|
-
requests = "^2.32.3"
|
|
37
|
-
|
|
38
|
-
[build-system]
|
|
39
|
-
requires = ["poetry-core>=1.0.0"]
|
|
40
|
-
build-backend = "poetry.core.masonry.api"
|
|
41
|
-
|
|
42
|
-
[tool.pytest.ini_options]
|
|
43
|
-
norecursedirs = ["combined", "scripts"]
|
|
44
|
-
|
|
45
|
-
markers = [
|
|
46
|
-
"test: standard test",
|
|
47
|
-
"unit: Unit tests",
|
|
48
|
-
"integration: Integration tests",
|
|
49
|
-
"acceptance: Acceptance tests",
|
|
50
|
-
"experimental: Experimental tests"
|
|
51
|
-
]
|
|
52
|
-
log_cli = true
|
|
53
|
-
log_cli_level = "INFO"
|
|
54
|
-
log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
55
|
-
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
56
|
-
asyncio_default_fixture_loop_scope = "function"
|
|
57
|
-
|
|
58
|
-
[tool.poetry.plugins."swarmauri.tools"]
|
|
59
|
-
LexicalDensityTool = "swarmauri_tool_lexicaldensity.LexicalDensityTool:LexicalDensityTool"
|
{swarmauri_tool_lexicaldensity-0.6.1.dev16 → swarmauri_tool_lexicaldensity-0.7.0.dev2}/LICENSE
RENAMED
|
File without changes
|
{swarmauri_tool_lexicaldensity-0.6.1.dev16 → swarmauri_tool_lexicaldensity-0.7.0.dev2}/README.md
RENAMED
|
File without changes
|