chunkr-ai 0.3.6__tar.gz → 0.3.7__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.
- {chunkr_ai-0.3.6/src/chunkr_ai.egg-info → chunkr_ai-0.3.7}/PKG-INFO +2 -2
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/pyproject.toml +2 -2
- chunkr_ai-0.3.7/src/chunkr_ai/__init__.py +12 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7/src/chunkr_ai.egg-info}/PKG-INFO +2 -2
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai.egg-info/requires.txt +3 -3
- chunkr_ai-0.3.6/src/chunkr_ai/__init__.py +0 -17
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/LICENSE +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/README.md +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/setup.cfg +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/api/__init__.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/api/auth.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/api/chunkr.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/api/chunkr_base.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/api/configuration.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/api/decorators.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/api/misc.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/api/protocol.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/api/task_response.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai/models.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai.egg-info/SOURCES.txt +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai.egg-info/dependency_links.txt +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/src/chunkr_ai.egg-info/top_level.txt +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/tests/test_chunkr.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/tests/test_excel.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/tests/test_file_handling.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/tests/test_pages.py +0 -0
- {chunkr_ai-0.3.6 → chunkr_ai-0.3.7}/tests/test_version.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: chunkr-ai
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.7
|
4
4
|
Summary: Python client for Chunkr: open source document intelligence
|
5
5
|
Author-email: Ishaan Kapoor <ishaan@lumina.sh>
|
6
6
|
License: MIT License
|
@@ -33,13 +33,13 @@ Requires-Dist: nest-asyncio>=1.6.0
|
|
33
33
|
Requires-Dist: pillow>=10.0.0
|
34
34
|
Requires-Dist: pydantic>=2.0.0
|
35
35
|
Requires-Dist: python-dotenv>=0.19.0
|
36
|
-
Requires-Dist: tomli>=1.2.0; python_version < "3.11"
|
37
36
|
Provides-Extra: test
|
38
37
|
Requires-Dist: pytest>=7.0.0; extra == "test"
|
39
38
|
Requires-Dist: pytest-xdist>=3.0.0; extra == "test"
|
40
39
|
Requires-Dist: pytest-asyncio>=0.21.0; extra == "test"
|
41
40
|
Requires-Dist: ruff>=0.9.3; extra == "test"
|
42
41
|
Requires-Dist: matplotlib>=3.10.3; extra == "test"
|
42
|
+
Requires-Dist: tomli>=1.2.0; python_version < "3.11" and extra == "test"
|
43
43
|
Dynamic: license-file
|
44
44
|
|
45
45
|
# Chunkr Python Client
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "chunkr-ai"
|
7
|
-
version = "0.3.
|
7
|
+
version = "0.3.7"
|
8
8
|
authors = [{ "name" = "Ishaan Kapoor", "email" = "ishaan@lumina.sh" }]
|
9
9
|
description = "Python client for Chunkr: open source document intelligence"
|
10
10
|
readme = "README.md"
|
@@ -17,7 +17,6 @@ dependencies = [
|
|
17
17
|
"pillow>=10.0.0",
|
18
18
|
"pydantic>=2.0.0",
|
19
19
|
"python-dotenv>=0.19.0",
|
20
|
-
"tomli>=1.2.0; python_version<'3.11'",
|
21
20
|
]
|
22
21
|
|
23
22
|
[project.optional-dependencies]
|
@@ -27,6 +26,7 @@ test = [
|
|
27
26
|
"pytest-asyncio>=0.21.0",
|
28
27
|
"ruff>=0.9.3",
|
29
28
|
"matplotlib>=3.10.3",
|
29
|
+
"tomli>=1.2.0; python_version<'3.11'",
|
30
30
|
]
|
31
31
|
|
32
32
|
[dependency-groups]
|
@@ -0,0 +1,12 @@
|
|
1
|
+
from .api.chunkr import Chunkr
|
2
|
+
from importlib import metadata
|
3
|
+
|
4
|
+
# Get version from installed package metadata
|
5
|
+
try:
|
6
|
+
__version__ = metadata.version("chunkr-ai")
|
7
|
+
except metadata.PackageNotFoundError:
|
8
|
+
# package is not installed
|
9
|
+
print("Error: chunkr-ai package not found. contact team@chunkr.ai")
|
10
|
+
__version__ = "unknown"
|
11
|
+
|
12
|
+
__all__ = ["Chunkr", "__version__"]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: chunkr-ai
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.7
|
4
4
|
Summary: Python client for Chunkr: open source document intelligence
|
5
5
|
Author-email: Ishaan Kapoor <ishaan@lumina.sh>
|
6
6
|
License: MIT License
|
@@ -33,13 +33,13 @@ Requires-Dist: nest-asyncio>=1.6.0
|
|
33
33
|
Requires-Dist: pillow>=10.0.0
|
34
34
|
Requires-Dist: pydantic>=2.0.0
|
35
35
|
Requires-Dist: python-dotenv>=0.19.0
|
36
|
-
Requires-Dist: tomli>=1.2.0; python_version < "3.11"
|
37
36
|
Provides-Extra: test
|
38
37
|
Requires-Dist: pytest>=7.0.0; extra == "test"
|
39
38
|
Requires-Dist: pytest-xdist>=3.0.0; extra == "test"
|
40
39
|
Requires-Dist: pytest-asyncio>=0.21.0; extra == "test"
|
41
40
|
Requires-Dist: ruff>=0.9.3; extra == "test"
|
42
41
|
Requires-Dist: matplotlib>=3.10.3; extra == "test"
|
42
|
+
Requires-Dist: tomli>=1.2.0; python_version < "3.11" and extra == "test"
|
43
43
|
Dynamic: license-file
|
44
44
|
|
45
45
|
# Chunkr Python Client
|
@@ -4,12 +4,12 @@ pillow>=10.0.0
|
|
4
4
|
pydantic>=2.0.0
|
5
5
|
python-dotenv>=0.19.0
|
6
6
|
|
7
|
-
[:python_version < "3.11"]
|
8
|
-
tomli>=1.2.0
|
9
|
-
|
10
7
|
[test]
|
11
8
|
pytest>=7.0.0
|
12
9
|
pytest-xdist>=3.0.0
|
13
10
|
pytest-asyncio>=0.21.0
|
14
11
|
ruff>=0.9.3
|
15
12
|
matplotlib>=3.10.3
|
13
|
+
|
14
|
+
[test:python_version < "3.11"]
|
15
|
+
tomli>=1.2.0
|
@@ -1,17 +0,0 @@
|
|
1
|
-
from .api.chunkr import Chunkr
|
2
|
-
try:
|
3
|
-
import tomllib
|
4
|
-
except ImportError:
|
5
|
-
import tomli as tomllib
|
6
|
-
from pathlib import Path
|
7
|
-
|
8
|
-
# Read version from pyproject.toml
|
9
|
-
try:
|
10
|
-
pyproject_path = Path(__file__).parent.parent.parent / "pyproject.toml"
|
11
|
-
with open(pyproject_path, "rb") as f:
|
12
|
-
pyproject_data = tomllib.load(f)
|
13
|
-
__version__ = pyproject_data["project"]["version"]
|
14
|
-
except Exception:
|
15
|
-
__version__ = "unknown"
|
16
|
-
|
17
|
-
__all__ = ["Chunkr", "__version__"]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|