swarmauri_ocr_pytesseract 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.
@@ -1,20 +1,19 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: swarmauri_ocr_pytesseract
3
- Version: 0.6.1.dev16
3
+ Version: 0.7.0.dev2
4
4
  Summary: Swarmauri Tesseract Image to Text Model
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: pytesseract (>=0.3.13,<0.4.0)
15
- Requires-Dist: swarmauri_base (>=0.6.1.dev16,<0.7.0)
16
- Requires-Dist: swarmauri_core (>=0.6.1.dev16,<0.7.0)
17
- Project-URL: Repository, http://github.com/swarmauri/swarmauri-sdk
13
+ Requires-Dist: pytesseract (>=0.3.13)
14
+ Requires-Dist: swarmauri_base
15
+ Requires-Dist: swarmauri_core
16
+ Requires-Dist: swarmauri_standard
18
17
  Description-Content-Type: text/markdown
19
18
 
20
19
  ![Swarmauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
@@ -0,0 +1,59 @@
1
+ [project]
2
+ name = "swarmauri_ocr_pytesseract"
3
+ version = "0.7.0.dev2"
4
+ description = "Swarmauri Tesseract Image to Text Model"
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 = ["pytesseract>=0.3.13", "swarmauri_core", "swarmauri_base", "swarmauri_standard"]
17
+
18
+ [tool.uv.sources]
19
+ swarmauri_core = { workspace = true }
20
+ swarmauri_base = { workspace = true }
21
+ swarmauri_standard = { workspace = true }
22
+
23
+ [tool.pytest.ini_options]
24
+ norecursedirs = ["combined", "scripts"]
25
+ markers = [
26
+ "test: standard test",
27
+ "unit: Unit tests",
28
+ "i9n: Integration tests",
29
+ "r8n: Regression tests",
30
+ "timeout: mark test to timeout after X seconds",
31
+ "xpass: Expected passes",
32
+ "xfail: Expected failures",
33
+ "acceptance: Acceptance tests",
34
+ ]
35
+ timeout = 300
36
+ log_cli = true
37
+ log_cli_level = "INFO"
38
+ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
39
+ log_cli_date_format = "%Y-%m-%d %H:%M:%S"
40
+ asyncio_default_fixture_loop_scope = "function"
41
+
42
+ [tool.project.entry-points."swarmauri.ocrs"]
43
+ PytesseractOCR = "swarmauri_ocr_pytesseract.PytesseractOCR:PytesseractOCR"
44
+ [build-system]
45
+ requires = ["poetry-core>=1.0.0"]
46
+ build-backend = "poetry.core.masonry.api"
47
+
48
+ [dependency-groups]
49
+ dev = [
50
+ "pytest>=8.0",
51
+ "pytest-asyncio>=0.24.0",
52
+ "pytest-xdist>=3.6.1",
53
+ "pytest-json-report>=1.5.0",
54
+ "python-dotenv",
55
+ "requests>=2.32.3",
56
+ "flake8>=7.0",
57
+ "pytest-timeout>=2.3.1",
58
+ "ruff>=0.9.9",
59
+ ]
@@ -1,7 +1,7 @@
1
1
  import os
2
2
  import asyncio
3
3
  from typing import List, Literal, Union
4
- from swarmauri_core.ComponentBase import ComponentBase
4
+ from swarmauri_base.ComponentBase import ComponentBase
5
5
  from pydantic import Field, ConfigDict
6
6
  from PIL import Image
7
7
  import pytesseract
@@ -1,58 +0,0 @@
1
- [tool.poetry]
2
- name = "swarmauri_ocr_pytesseract"
3
- version = "0.6.1.dev16"
4
- description = "Swarmauri Tesseract Image to Text Model"
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
-
23
- # Dependencies
24
- pytesseract = "^0.3.13"
25
-
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
- "asyncio: asynscio test",
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.ocrs"]
58
- PytesseractOCR = "swarmauri_ocr_pytesseract.PytesseractOCR:PytesseractOCR"