sparrow-parse 0.2.2__tar.gz → 0.2.4__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.
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/PKG-INFO +3 -2
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/README.md +1 -1
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/pyproject.toml +2 -1
- sparrow_parse-0.2.4/sparrow_parse/__init__.py +1 -0
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/sparrow_parse/extractor/unstructured_processor.py +1 -1
- sparrow_parse-0.2.4/sparrow_parse/temp.py +16 -0
- sparrow_parse-0.2.2/sparrow_parse/__init__.py +0 -1
- sparrow_parse-0.2.2/sparrow_parse/extractor/__pycache__/__init__.cpython-310.pyc +0 -0
- sparrow_parse-0.2.2/sparrow_parse/extractor/__pycache__/extractor_helper.cpython-310.pyc +0 -0
- sparrow_parse-0.2.2/sparrow_parse/extractor/__pycache__/html_extractor.cpython-310.pyc +0 -0
- sparrow_parse-0.2.2/sparrow_parse/temp.py +0 -28
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/sparrow_parse/__main__.py +0 -0
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/sparrow_parse/data/invoice_1_table.txt +0 -0
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/sparrow_parse/extractor/__init__.py +0 -0
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/sparrow_parse/extractor/extractor_helper.py +0 -0
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/sparrow_parse/extractor/html_extractor.py +0 -0
- {sparrow_parse-0.2.2 → sparrow_parse-0.2.4}/sparrow_parse/extractor/markdown_processor.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: sparrow-parse
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.4
|
4
4
|
Summary: Sparrow Parse is a Python package for parsing and extracting information from documents.
|
5
5
|
Home-page: https://github.com/katanaml/sparrow/tree/main/sparrow-data/parse
|
6
6
|
License: GPL-3.0
|
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
17
17
|
Classifier: Topic :: Software Development
|
18
|
+
Requires-Dist: numpy (==1.26.4)
|
18
19
|
Requires-Dist: pymupdf4llm (==0.0.5)
|
19
20
|
Requires-Dist: rich (>=13.7.1,<14.0.0)
|
20
21
|
Requires-Dist: sentence-transformers (==3.0.1)
|
@@ -63,7 +64,7 @@ Example:
|
|
63
64
|
|
64
65
|
*model_name* - `yolox`
|
65
66
|
|
66
|
-
*options* - `['tables', '
|
67
|
+
*options* - `['tables', 'unstructured']`
|
67
68
|
|
68
69
|
*local* - `True`
|
69
70
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "sparrow-parse"
|
3
|
-
version = "0.2.
|
3
|
+
version = "0.2.4"
|
4
4
|
description = "Sparrow Parse is a Python package for parsing and extracting information from documents."
|
5
5
|
authors = ["Andrej Baranovskij <andrejus.baranovskis@gmail.com>"]
|
6
6
|
license = "GPL-3.0"
|
@@ -28,6 +28,7 @@ rich = "^13.7.1"
|
|
28
28
|
pymupdf4llm = "0.0.5"
|
29
29
|
transformers = "4.41.2"
|
30
30
|
sentence-transformers = "3.0.1"
|
31
|
+
numpy = "1.26.4"
|
31
32
|
|
32
33
|
|
33
34
|
[tool.poetry.scripts]
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '0.2.4'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# content, table_content = processor.extract_data(
|
2
|
+
# '/Users/andrejb/Documents/work/schreiber/invoice_data/test/2618407.pdf',
|
3
|
+
# 'hi_res',
|
4
|
+
# 'yolox',
|
5
|
+
# # 'detectron2_onnx',
|
6
|
+
# ['tables', 'unstructured'],
|
7
|
+
# True,
|
8
|
+
# True)
|
9
|
+
|
10
|
+
# content, table_content = processor.extract_data(
|
11
|
+
# '/Users/andrejb/Documents/work/epik/bankstatement/OCBC_1_1.pdf',
|
12
|
+
# 'hi_res',
|
13
|
+
# 'yolox',
|
14
|
+
# ['tables', 'unstructured'],
|
15
|
+
# True,
|
16
|
+
# True)
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = '0.2.2'
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# content, table_content = processor.extract_data(
|
2
|
-
# '/Users/andrejb/Documents/work/schreiber/invoice_data/test/2618407.pdf',
|
3
|
-
# 'hi_res',
|
4
|
-
# 'yolox',
|
5
|
-
# # 'detectron2_onnx',
|
6
|
-
# ['tables', 'html'],
|
7
|
-
# True,
|
8
|
-
# True)
|
9
|
-
|
10
|
-
# content, table_content = processor.extract_data(
|
11
|
-
# '/Users/andrejb/Documents/work/epik/bankstatement/OCBC_1_1.pdf',
|
12
|
-
# 'hi_res',
|
13
|
-
# 'yolox',
|
14
|
-
# ['tables', 'html'],
|
15
|
-
# True,
|
16
|
-
# True)
|
17
|
-
|
18
|
-
|
19
|
-
# content, table_content = processor.extract_data(
|
20
|
-
# '/Users/andrejb/Documents/work/schreiber/invoice_data/test/2618407.pdf',
|
21
|
-
# ['tables', 'markdown'],
|
22
|
-
# True,
|
23
|
-
# True)
|
24
|
-
# content, table_content = processor.extract_data(
|
25
|
-
# '/Users/andrejb/Documents/work/epik/bankstatement/POSB_2_1.pdf',
|
26
|
-
# ['tables', 'markdown'],
|
27
|
-
# True,
|
28
|
-
# True)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|