chunkr-ai 0.3.3__tar.gz → 0.3.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.
Files changed (25) hide show
  1. {chunkr_ai-0.3.3/src/chunkr_ai.egg-info → chunkr_ai-0.3.4}/PKG-INFO +3 -1
  2. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/pyproject.toml +3 -1
  3. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/api/auth.py +6 -1
  4. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4/src/chunkr_ai.egg-info}/PKG-INFO +3 -1
  5. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai.egg-info/requires.txt +3 -0
  6. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/LICENSE +0 -0
  7. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/README.md +0 -0
  8. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/setup.cfg +0 -0
  9. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/__init__.py +0 -0
  10. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/api/__init__.py +0 -0
  11. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/api/chunkr.py +0 -0
  12. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/api/chunkr_base.py +0 -0
  13. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/api/configuration.py +0 -0
  14. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/api/decorators.py +0 -0
  15. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/api/misc.py +0 -0
  16. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/api/protocol.py +0 -0
  17. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/api/task_response.py +0 -0
  18. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai/models.py +0 -0
  19. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai.egg-info/SOURCES.txt +0 -0
  20. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai.egg-info/dependency_links.txt +0 -0
  21. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/src/chunkr_ai.egg-info/top_level.txt +0 -0
  22. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/tests/test_chunkr.py +0 -0
  23. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/tests/test_excel.py +0 -0
  24. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/tests/test_file_handling.py +0 -0
  25. {chunkr_ai-0.3.3 → chunkr_ai-0.3.4}/tests/test_pages.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chunkr-ai
3
- Version: 0.3.3
3
+ Version: 0.3.4
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
@@ -25,6 +25,7 @@ License: MIT License
25
25
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
26
  SOFTWARE.
27
27
  Project-URL: Homepage, https://chunkr.ai
28
+ Requires-Python: >=3.10
28
29
  Description-Content-Type: text/markdown
29
30
  License-File: LICENSE
30
31
  Requires-Dist: httpx>=0.25.0
@@ -33,6 +34,7 @@ Requires-Dist: nest-asyncio>=1.6.0
33
34
  Requires-Dist: pillow>=10.0.0
34
35
  Requires-Dist: pydantic>=2.0.0
35
36
  Requires-Dist: python-dotenv>=0.19.0
37
+ Requires-Dist: tomli>=1.2.0; python_version < "3.11"
36
38
  Provides-Extra: test
37
39
  Requires-Dist: pytest>=7.0.0; extra == "test"
38
40
  Requires-Dist: pytest-xdist>=3.0.0; extra == "test"
@@ -4,12 +4,13 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "chunkr-ai"
7
- version = "0.3.3"
7
+ version = "0.3.4"
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"
11
11
  license = { "file" = "LICENSE" }
12
12
  urls = { Homepage = "https://chunkr.ai" }
13
+ requires-python = ">=3.10"
13
14
  dependencies = [
14
15
  "httpx>=0.25.0",
15
16
  "matplotlib>=3.10.3",
@@ -17,6 +18,7 @@ dependencies = [
17
18
  "pillow>=10.0.0",
18
19
  "pydantic>=2.0.0",
19
20
  "python-dotenv>=0.19.0",
21
+ "tomli>=1.2.0; python_version<'3.11'",
20
22
  ]
21
23
 
22
24
  [project.optional-dependencies]
@@ -1,8 +1,13 @@
1
1
  import platform
2
2
  import sys
3
- import tomllib
4
3
  from pathlib import Path
5
4
 
5
+ # Handle tomllib import for Python 3.10 compatibility
6
+ try:
7
+ import tomllib
8
+ except ImportError:
9
+ import tomli as tomllib
10
+
6
11
  def _find_pyproject_toml(start_path: Path) -> Path | None:
7
12
  """Search for pyproject.toml in current and parent directories."""
8
13
  for parent in [start_path, *start_path.parents]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chunkr-ai
3
- Version: 0.3.3
3
+ Version: 0.3.4
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
@@ -25,6 +25,7 @@ License: MIT License
25
25
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
26
  SOFTWARE.
27
27
  Project-URL: Homepage, https://chunkr.ai
28
+ Requires-Python: >=3.10
28
29
  Description-Content-Type: text/markdown
29
30
  License-File: LICENSE
30
31
  Requires-Dist: httpx>=0.25.0
@@ -33,6 +34,7 @@ Requires-Dist: nest-asyncio>=1.6.0
33
34
  Requires-Dist: pillow>=10.0.0
34
35
  Requires-Dist: pydantic>=2.0.0
35
36
  Requires-Dist: python-dotenv>=0.19.0
37
+ Requires-Dist: tomli>=1.2.0; python_version < "3.11"
36
38
  Provides-Extra: test
37
39
  Requires-Dist: pytest>=7.0.0; extra == "test"
38
40
  Requires-Dist: pytest-xdist>=3.0.0; extra == "test"
@@ -5,6 +5,9 @@ pillow>=10.0.0
5
5
  pydantic>=2.0.0
6
6
  python-dotenv>=0.19.0
7
7
 
8
+ [:python_version < "3.11"]
9
+ tomli>=1.2.0
10
+
8
11
  [test]
9
12
  pytest>=7.0.0
10
13
  pytest-xdist>=3.0.0
File without changes
File without changes
File without changes
File without changes
File without changes