HowdenParser 0.1.4__tar.gz → 0.1.5__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.
- howdenparser-0.1.5/HowdenParser/parameter/__init__.py +15 -0
- {howdenparser-0.1.4 → howdenparser-0.1.5}/PKG-INFO +1 -1
- {howdenparser-0.1.4 → howdenparser-0.1.5}/pyproject.toml +1 -1
- howdenparser-0.1.4/HowdenParser/parameter/__init__.py +0 -3
- {howdenparser-0.1.4 → howdenparser-0.1.5}/HowdenParser/__init__.py +0 -0
- {howdenparser-0.1.4 → howdenparser-0.1.5}/HowdenParser/parameter/huggingface.py +0 -0
- {howdenparser-0.1.4 → howdenparser-0.1.5}/HowdenParser/parameter/llamaparser.py +0 -0
- {howdenparser-0.1.4 → howdenparser-0.1.5}/HowdenParser/parameter/mistralocr.py +0 -0
- {howdenparser-0.1.4 → howdenparser-0.1.5}/HowdenParser/parser.py +0 -0
- {howdenparser-0.1.4 → howdenparser-0.1.5}/README.md +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import importlib
|
|
3
|
+
|
|
4
|
+
# Get all .py files in this folder except __init__.py
|
|
5
|
+
current_dir = os.path.dirname(__file__)
|
|
6
|
+
for filename in os.listdir(current_dir):
|
|
7
|
+
if filename.endswith(".py") and filename != "__init__.py":
|
|
8
|
+
module_name = filename[:-3] # remove .py
|
|
9
|
+
module = importlib.import_module(f".{module_name}", package=__name__)
|
|
10
|
+
|
|
11
|
+
# Add all classes from the module to the package namespace
|
|
12
|
+
for attr_name in dir(module):
|
|
13
|
+
attr = getattr(module, attr_name)
|
|
14
|
+
if isinstance(attr, type): # only classes
|
|
15
|
+
globals()[attr_name] = attr
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "HowdenParser"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.5"
|
|
8
8
|
description = "A simple configuration manager with Pydantic and JSON export."
|
|
9
9
|
authors = [ "JesperThoftIllemannJ <jesper.jaeger@howdendanmark.dk>",]
|
|
10
10
|
readme = "README.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|