rbx-proofreader 1.0.0__tar.gz → 1.0.2__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.
Files changed (23) hide show
  1. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/PKG-INFO +12 -12
  2. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/pyproject.toml +12 -12
  3. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/main.py +5 -5
  4. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/rbx_proofreader.egg-info/PKG-INFO +12 -12
  5. rbx_proofreader-1.0.2/src/rbx_proofreader.egg-info/requires.txt +11 -0
  6. rbx_proofreader-1.0.0/src/rbx_proofreader.egg-info/requires.txt +0 -11
  7. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/LICENSE +0 -0
  8. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/README.md +0 -0
  9. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/setup.cfg +0 -0
  10. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/__init__.py +0 -0
  11. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/core/__init__.py +0 -0
  12. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/core/config.py +0 -0
  13. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/core/detector.py +0 -0
  14. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/core/matcher.py +0 -0
  15. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/core/ocr.py +0 -0
  16. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/core/resolver.py +0 -0
  17. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/core/schema.py +0 -0
  18. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/train/builder.py +0 -0
  19. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/train/emulator/generator.py +0 -0
  20. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/proofreader/train/train.py +0 -0
  21. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/rbx_proofreader.egg-info/SOURCES.txt +0 -0
  22. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/rbx_proofreader.egg-info/dependency_links.txt +0 -0
  23. {rbx_proofreader-1.0.0 → rbx_proofreader-1.0.2}/src/rbx_proofreader.egg-info/top_level.txt +0 -0
@@ -1,22 +1,22 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rbx-proofreader
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Visual trade detection and OCR engine
5
5
  License: MIT
6
6
  Requires-Python: >=3.12
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
- Requires-Dist: easyocr>=1.7.0
10
- Requires-Dist: numpy>=1.24.0
11
- Requires-Dist: opencv-python>=4.8.0
12
- Requires-Dist: Pillow>=10.0.0
13
- Requires-Dist: playwright>=1.40.0
14
- Requires-Dist: rapidfuzz>=3.0.0
15
- Requires-Dist: requests>=2.31.0
16
- Requires-Dist: torch>=2.0.0
17
- Requires-Dist: tqdm>=4.66.0
18
- Requires-Dist: transformers>=4.30.0
19
- Requires-Dist: ultralytics>=8.0.0
9
+ Requires-Dist: easyocr<2.0.0,>=1.7.0
10
+ Requires-Dist: numpy<2.0.0,>=1.24.0
11
+ Requires-Dist: opencv-python<5.0.0,>=4.8.0
12
+ Requires-Dist: Pillow<11.0.0,>=10.0.0
13
+ Requires-Dist: playwright<2.0.0,>=1.40.0
14
+ Requires-Dist: rapidfuzz<4.0.0,>=3.0.0
15
+ Requires-Dist: requests<3.0.0,>=2.31.0
16
+ Requires-Dist: torch<3.0.0,>=2.0.0
17
+ Requires-Dist: tqdm<5.0.0,>=4.66.0
18
+ Requires-Dist: transformers<5.0.0,>=4.30.0
19
+ Requires-Dist: ultralytics<9.0.0,>=8.0.0
20
20
  Dynamic: license-file
21
21
 
22
22
  # Proofreader 🔍
@@ -4,23 +4,23 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rbx-proofreader"
7
- version = "1.0.0"
7
+ version = "1.0.2"
8
8
  description = "Visual trade detection and OCR engine"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
11
11
  license = {text = "MIT"}
12
12
  dependencies = [
13
- "easyocr>=1.7.0",
14
- "numpy>=1.24.0",
15
- "opencv-python>=4.8.0",
16
- "Pillow>=10.0.0",
17
- "playwright>=1.40.0",
18
- "rapidfuzz>=3.0.0",
19
- "requests>=2.31.0",
20
- "torch>=2.0.0",
21
- "tqdm>=4.66.0",
22
- "transformers>=4.30.0",
23
- "ultralytics>=8.0.0"
13
+ "easyocr>=1.7.0,<2.0.0",
14
+ "numpy>=1.24.0,<2.0.0",
15
+ "opencv-python>=4.8.0,<5.0.0",
16
+ "Pillow>=10.0.0,<11.0.0",
17
+ "playwright>=1.40.0,<2.0.0",
18
+ "rapidfuzz>=3.0.0,<4.0.0",
19
+ "requests>=2.31.0,<3.0.0",
20
+ "torch>=2.0.0,<3.0.0",
21
+ "tqdm>=4.66.0,<5.0.0",
22
+ "transformers>=4.30.0,<5.0.0",
23
+ "ultralytics>=8.0.0,<9.0.0",
24
24
  ]
25
25
 
26
26
  [tool.setuptools]
@@ -49,17 +49,17 @@ class TradeEngine:
49
49
  )
50
50
 
51
51
  def _ensure_assets(self):
52
- BASE_URL = "https://github.com/lucacrose/proofreader/releases/latest/download"
52
+ BASE_URL = "https://github.com/lucacrose/proofreader"
53
53
 
54
54
  assets = {
55
- DB_PATH: f"{BASE_URL}/db.json",
56
- CACHE_PATH: f"{BASE_URL}/embedding_bank.pt",
57
- MODEL_PATH: f"{BASE_URL}/yolo.pt"
55
+ DB_PATH: f"{BASE_URL}/releases/download/v1.0.0/db.json",
56
+ CACHE_PATH: f"{BASE_URL}/releases/download/v1.0.0/embedding_bank.pt",
57
+ MODEL_PATH: f"{BASE_URL}/releases/download/v1.0.0/yolo.pt"
58
58
  }
59
59
 
60
60
  for path, url in assets.items():
61
61
  if not path.exists():
62
- print(f"📦 {path.name} missing. Downloading from latest release...")
62
+ print(f"📦 {path.name} missing. Downloading from published release...")
63
63
  self._download_file(url, path)
64
64
 
65
65
  def _download_file(self, url, dest_path):
@@ -1,22 +1,22 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rbx-proofreader
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Visual trade detection and OCR engine
5
5
  License: MIT
6
6
  Requires-Python: >=3.12
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
- Requires-Dist: easyocr>=1.7.0
10
- Requires-Dist: numpy>=1.24.0
11
- Requires-Dist: opencv-python>=4.8.0
12
- Requires-Dist: Pillow>=10.0.0
13
- Requires-Dist: playwright>=1.40.0
14
- Requires-Dist: rapidfuzz>=3.0.0
15
- Requires-Dist: requests>=2.31.0
16
- Requires-Dist: torch>=2.0.0
17
- Requires-Dist: tqdm>=4.66.0
18
- Requires-Dist: transformers>=4.30.0
19
- Requires-Dist: ultralytics>=8.0.0
9
+ Requires-Dist: easyocr<2.0.0,>=1.7.0
10
+ Requires-Dist: numpy<2.0.0,>=1.24.0
11
+ Requires-Dist: opencv-python<5.0.0,>=4.8.0
12
+ Requires-Dist: Pillow<11.0.0,>=10.0.0
13
+ Requires-Dist: playwright<2.0.0,>=1.40.0
14
+ Requires-Dist: rapidfuzz<4.0.0,>=3.0.0
15
+ Requires-Dist: requests<3.0.0,>=2.31.0
16
+ Requires-Dist: torch<3.0.0,>=2.0.0
17
+ Requires-Dist: tqdm<5.0.0,>=4.66.0
18
+ Requires-Dist: transformers<5.0.0,>=4.30.0
19
+ Requires-Dist: ultralytics<9.0.0,>=8.0.0
20
20
  Dynamic: license-file
21
21
 
22
22
  # Proofreader 🔍
@@ -0,0 +1,11 @@
1
+ easyocr<2.0.0,>=1.7.0
2
+ numpy<2.0.0,>=1.24.0
3
+ opencv-python<5.0.0,>=4.8.0
4
+ Pillow<11.0.0,>=10.0.0
5
+ playwright<2.0.0,>=1.40.0
6
+ rapidfuzz<4.0.0,>=3.0.0
7
+ requests<3.0.0,>=2.31.0
8
+ torch<3.0.0,>=2.0.0
9
+ tqdm<5.0.0,>=4.66.0
10
+ transformers<5.0.0,>=4.30.0
11
+ ultralytics<9.0.0,>=8.0.0
@@ -1,11 +0,0 @@
1
- easyocr>=1.7.0
2
- numpy>=1.24.0
3
- opencv-python>=4.8.0
4
- Pillow>=10.0.0
5
- playwright>=1.40.0
6
- rapidfuzz>=3.0.0
7
- requests>=2.31.0
8
- torch>=2.0.0
9
- tqdm>=4.66.0
10
- transformers>=4.30.0
11
- ultralytics>=8.0.0
File without changes