markitdown-gc 0.3.2__tar.gz → 0.3.3__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.
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/PKG-INFO +1 -1
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/__about__.py +1 -1
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/_markitdown.py +14 -8
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_zip_converter.py +3 -4
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/.gitignore +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/LICENSE +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/README.md +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/ThirdPartyNotices.md +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/pyproject.toml +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/GUIDE.md +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/__init__.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/__main__.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/_base_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/_exceptions.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/_hwp_media.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/_media.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/_stream_info.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/_text.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/_uri_utils.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/__init__.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/_image.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/_xlsx_images.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/__init__.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/_images.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/math/__init__.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/math/latex_dict.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/math/omml.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/pre_process.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/__init__.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_audio_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_bing_serp_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_csv_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_cu_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_doc_intel_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_docx_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_epub_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_exiftool.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_html_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_hwp_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_image_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_ipynb_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_llm_caption.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_markdownify.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_outlook_msg_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_pdf_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_plain_text_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_pptx_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_rss_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_transcribe_audio.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_wikipedia_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_xlsx_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_youtube_converter.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/ocr_triage.py +0 -0
- {markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: markitdown-gc
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Utility tool for converting various files to Markdown
|
|
5
5
|
Project-URL: Documentation, https://github.com/greatgc-flow/markitdown-gc#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/greatgc-flow/markitdown-gc/issues
|
|
@@ -531,14 +531,20 @@ class MarkItDown:
|
|
|
531
531
|
# HTTP/HTTPS URIs
|
|
532
532
|
elif scheme in ("http", "https"):
|
|
533
533
|
response = self._requests_session.get(uri, stream=True)
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
534
|
+
try:
|
|
535
|
+
response.raise_for_status()
|
|
536
|
+
return self.convert_response(
|
|
537
|
+
response,
|
|
538
|
+
stream_info=stream_info,
|
|
539
|
+
file_extension=file_extension,
|
|
540
|
+
url=mock_url,
|
|
541
|
+
**kwargs,
|
|
542
|
+
)
|
|
543
|
+
finally:
|
|
544
|
+
# This method owns the streamed response returned by get().
|
|
545
|
+
# Close it on status errors, failed reads and converter errors
|
|
546
|
+
# as well as success. convert_response() is caller-owned.
|
|
547
|
+
response.close()
|
|
542
548
|
else:
|
|
543
549
|
raise ValueError(
|
|
544
550
|
f"Unsupported URI scheme: {uri.split(':')[0]}. Supported schemes are: file:, data:, http:, https:"
|
|
@@ -91,10 +91,9 @@ class ZipConverter(DocumentConverter):
|
|
|
91
91
|
**kwargs: Any, # Options to pass to the converter
|
|
92
92
|
) -> DocumentConverterResult:
|
|
93
93
|
file_path = (
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
or stream_info.filename
|
|
97
|
-
or "(unknown)"
|
|
94
|
+
"(remote archive)"
|
|
95
|
+
if stream_info.url
|
|
96
|
+
else stream_info.local_path or stream_info.filename or "(unknown)"
|
|
98
97
|
)
|
|
99
98
|
md_content = f"Content from the zip file `{file_path}`:\n\n"
|
|
100
99
|
|
|
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
|
{markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/math/__init__.py
RENAMED
|
File without changes
|
{markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/math/latex_dict.py
RENAMED
|
File without changes
|
{markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/math/omml.py
RENAMED
|
File without changes
|
{markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converter_utils/docx/pre_process.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_bing_serp_converter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_doc_intel_converter.py
RENAMED
|
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
|
{markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_outlook_msg_converter.py
RENAMED
|
File without changes
|
|
File without changes
|
{markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_plain_text_converter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{markitdown_gc-0.3.2 → markitdown_gc-0.3.3}/src/markitdown/converters/_wikipedia_converter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|