Skip to content

Commit 8893b70

Browse files
author
Tom Softreck
committed
Release version 0.1.49
1 parent 1d72e6b commit 8893b70

File tree

5 files changed

+46
-3
lines changed

5 files changed

+46
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.1.49] - 2025-04-16
6+
57
## [0.1.48] - 2025-04-16
68

79
## [0.1.47] - 2025-04-16

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Configuration setup
1919
setup(
2020
name="pyfunc2",
21-
version="0.1.46",
21+
version="0.1.47",
2222
description="libs for cameramonit, ocr, fin-officer, cfo, and other projects",
2323
long_description=LONG_DESCRIPTION,
2424
long_description_content_type="text/markdown",

setup.py.bak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ except FileNotFoundError:
1818
# Configuration setup
1919
setup(
2020
name="pyfunc2",
21-
version="0.1.45",
21+
version="0.1.46",
2222
description="libs for cameramonit, ocr, fin-officer, cfo, and other projects",
2323
long_description=LONG_DESCRIPTION,
2424
long_description_content_type="text/markdown",

src/pyfunc2/ocr/__init__.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,19 @@
2121
from .get_date_from_pdf_pattern import get_date_from_pdf_pattern
2222

2323
# Public API of the package
24-
__all__ = [CompanyList, convert_pdf_to_string, find_string_in_file_path, find_string_in_pdf, from_folder_to_year, from_month_to_company, convertPdf2String, remove_extra_spaces, remove_all_spaces, remove_only_single_spaces, get_company_from_pdf, find_company, convertPdf2String, remove_extra_spaces, remove_all_spaces, remove_only_single_spaces, get_date_from_pdf, get_date_from_pdf_pattern]
24+
__all__ = [
25+
"CompanyList",
26+
"convert_pdf_to_string",
27+
"find_string_in_file_path",
28+
"find_string_in_pdf",
29+
"from_folder_to_year",
30+
"from_month_to_company",
31+
"convertPdf2String",
32+
"remove_extra_spaces",
33+
"remove_all_spaces",
34+
"remove_only_single_spaces",
35+
"get_company_from_pdf",
36+
"find_company",
37+
"get_date_from_pdf",
38+
"get_date_from_pdf_pattern"
39+
]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import importlib
2+
import pytest
3+
4+
submodules = [
5+
"config",
6+
"csv",
7+
"email",
8+
"file",
9+
"function",
10+
"github",
11+
"local",
12+
"markdown",
13+
"ml",
14+
"ocr",
15+
"report",
16+
"serialization",
17+
"text",
18+
]
19+
20+
@pytest.mark.parametrize("submodule", submodules)
21+
def test_import_pyfunc2_submodule(submodule):
22+
modname = f"pyfunc2.{submodule}"
23+
try:
24+
importlib.import_module(modname)
25+
except Exception as e:
26+
pytest.fail(f"Import failed for {modname}: {e}")

0 commit comments

Comments
 (0)