morphconv 1.0.1__tar.gz → 1.0.2__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.
- {morphconv-1.0.1 → morphconv-1.0.2}/PKG-INFO +2 -2
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/models_3d.py +4 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morphconv.egg-info/PKG-INFO +2 -2
- {morphconv-1.0.1 → morphconv-1.0.2}/morphconv.egg-info/requires.txt +2 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/pyproject.toml +2 -2
- {morphconv-1.0.1 → morphconv-1.0.2}/LICENSE +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/README.md +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/__init__.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/batch.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/cli.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/__init__.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/archives.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/audio.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/csv_json.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/csv_to_xlsx.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/documents.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/ebooks.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/fonts.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/images.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/json_yaml.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/ocr.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/pandas_extra.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/svg.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/video.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/vtracer_converter.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/web.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/converters/xlsx_to_csv.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/deps.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/ffmpeg_utils.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/history.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/progress.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/registry.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morph/tui.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morphconv.egg-info/SOURCES.txt +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morphconv.egg-info/dependency_links.txt +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morphconv.egg-info/entry_points.txt +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/morphconv.egg-info/top_level.txt +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/setup.cfg +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/tests/test_cli.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/tests/test_converters.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/tests/test_registry.py +0 -0
- {morphconv-1.0.1 → morphconv-1.0.2}/tests/test_web.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: morphconv
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: morph — convert anything to anything, from the CLI
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -31,7 +31,7 @@ Requires-Dist: trafilatura>=1.8.0
|
|
|
31
31
|
Requires-Dist: crawl4ai>=0.4.0
|
|
32
32
|
Requires-Dist: playwright>=1.40.0
|
|
33
33
|
Requires-Dist: vtracer>=0.6.0
|
|
34
|
-
Requires-Dist: bpy>=5.0.0
|
|
34
|
+
Requires-Dist: bpy>=5.0.0; python_version < "3.13"
|
|
35
35
|
Provides-Extra: dev
|
|
36
36
|
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
37
37
|
Requires-Dist: pytest-mock>=3.12.0; extra == "dev"
|
|
@@ -11,6 +11,10 @@ from ..registry import ConversionResult, register
|
|
|
11
11
|
|
|
12
12
|
def _run_bpy_script(script_content: str) -> None:
|
|
13
13
|
"""Run a bpy script in an isolated subprocess to prevent global state corruption/memory leaks."""
|
|
14
|
+
import importlib.util
|
|
15
|
+
if importlib.util.find_spec("bpy") is None:
|
|
16
|
+
raise RuntimeError(f"3D conversion requires the 'bpy' package (not available on Python {sys.version_info.major}.{sys.version_info.minor}). Please use Python 3.13 or older, or install Blender.")
|
|
17
|
+
|
|
14
18
|
code = f"""
|
|
15
19
|
import bpy
|
|
16
20
|
import sys
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: morphconv
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: morph — convert anything to anything, from the CLI
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -31,7 +31,7 @@ Requires-Dist: trafilatura>=1.8.0
|
|
|
31
31
|
Requires-Dist: crawl4ai>=0.4.0
|
|
32
32
|
Requires-Dist: playwright>=1.40.0
|
|
33
33
|
Requires-Dist: vtracer>=0.6.0
|
|
34
|
-
Requires-Dist: bpy>=5.0.0
|
|
34
|
+
Requires-Dist: bpy>=5.0.0; python_version < "3.13"
|
|
35
35
|
Provides-Extra: dev
|
|
36
36
|
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
37
37
|
Requires-Dist: pytest-mock>=3.12.0; extra == "dev"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "morphconv"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.2"
|
|
8
8
|
description = "morph — convert anything to anything, from the CLI"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -35,7 +35,7 @@ dependencies = [
|
|
|
35
35
|
"crawl4ai>=0.4.0",
|
|
36
36
|
"playwright>=1.40.0",
|
|
37
37
|
"vtracer>=0.6.0",
|
|
38
|
-
"bpy>=5.0.0",
|
|
38
|
+
"bpy>=5.0.0; python_version < '3.13'",
|
|
39
39
|
]
|
|
40
40
|
|
|
41
41
|
[project.scripts]
|
|
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
|
|
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
|