wowool-common 3.1.1.dev1__py3-none-any.whl → 3.1.2.dev1__py3-none-any.whl
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.
Potentially problematic release.
This version of wowool-common might be problematic. Click here for more details.
- wowool/document/factory.py +5 -1
- {wowool_common-3.1.1.dev1.dist-info → wowool_common-3.1.2.dev1.dist-info}/METADATA +1 -1
- {wowool_common-3.1.1.dev1.dist-info → wowool_common-3.1.2.dev1.dist-info}/RECORD +5 -5
- {wowool_common-3.1.1.dev1.dist-info → wowool_common-3.1.2.dev1.dist-info}/WHEEL +0 -0
- {wowool_common-3.1.1.dev1.dist-info → wowool_common-3.1.2.dev1.dist-info}/top_level.txt +0 -0
wowool/document/factory.py
CHANGED
|
@@ -36,7 +36,10 @@ def _make_str(uid, data, encoding, metadata: dict | None = None, **kwargs) -> Do
|
|
|
36
36
|
def _make_file(uid, data, encoding, metadata: dict | None = None, **kwargs) -> DocumentInterface:
|
|
37
37
|
from wowool.io.provider.file import FileInputProvider
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
options = {}
|
|
40
|
+
if "cleanup" in kwargs:
|
|
41
|
+
options["cleanup"] = kwargs["cleanup"]
|
|
42
|
+
return FileInputProvider(fid=uid, encoding=encoding, metadata=metadata, **options)
|
|
40
43
|
|
|
41
44
|
|
|
42
45
|
def _make_html(uid, data, encoding, metadata: dict | None = None, **kwargs) -> DocumentInterface:
|
|
@@ -88,6 +91,7 @@ creators = {
|
|
|
88
91
|
"pdf": _make_pdf,
|
|
89
92
|
"docx": _make_docx,
|
|
90
93
|
"file/utf8": _make_file,
|
|
94
|
+
"md/utf8": _make_file,
|
|
91
95
|
"html/utf8": _make_html,
|
|
92
96
|
"pdf/utf8": _make_pdf,
|
|
93
97
|
"docx/utf8": _make_docx,
|
|
@@ -18,7 +18,7 @@ wowool/document/__init__.py,sha256=CRicpiVDFsj4_pUNWuXxon52-BdHguhgE01SpEHqoVw,1
|
|
|
18
18
|
wowool/document/defines.py,sha256=aSF2ClfIRGDvzJJWRA58JRcYfjc8VM9hapw9FUuIuPQ,101
|
|
19
19
|
wowool/document/document.py,sha256=hH3wC5joNp9ds0NPRVpPylodev4LVweInGXw9Xn26pk,3225
|
|
20
20
|
wowool/document/document_interface.py,sha256=pwXYhU_s0_zlBdWvUj6c-S3BMPMgda8s02LRznWSk6M,1110
|
|
21
|
-
wowool/document/factory.py,sha256=
|
|
21
|
+
wowool/document/factory.py,sha256=R7W5LAmDC2fuUa9IcCBKSZTVEb3LrtGPqzLD5mbVIG0,10089
|
|
22
22
|
wowool/document/serialize.py,sha256=cL3cfs2od3pSfV9CHwXqZ_SBkF-2grvJi1q1oi0tC3c,1645
|
|
23
23
|
wowool/document/analysis/analysis.py,sha256=kB7kWEFrLtg0Zz7gmnypzkhkibl_UwqGavTttJxFBsY,9113
|
|
24
24
|
wowool/document/analysis/analysis_parser.py,sha256=-dWF_Ag0UyjF0lg5ppPL-YTEh4bhwNpEo-m3swvYqwY,3723
|
|
@@ -55,7 +55,7 @@ wowool/utility/iterators/__init__.py,sha256=oOnKogPeE-Yhky1lTsX1cEgYnWORdF-iqSTN
|
|
|
55
55
|
wowool/utility/path/__init__.py,sha256=8fzkUt2NwTbeoIjCUVR8tPgvHrCWLXaxXKZlC0oa_xQ,63
|
|
56
56
|
wowool/utility/path/path.py,sha256=6LSPGXUyiYtKP_7LzxDaHUq0UYGIg-Zvgvpc2fdJBA8,285
|
|
57
57
|
wowool/utility/text/cleanup.py,sha256=vN6I9n5PJN2EEhTaxyD2_jSVJ_BGI3EGaMr06LvgRT0,2886
|
|
58
|
-
wowool_common-3.1.
|
|
59
|
-
wowool_common-3.1.
|
|
60
|
-
wowool_common-3.1.
|
|
61
|
-
wowool_common-3.1.
|
|
58
|
+
wowool_common-3.1.2.dev1.dist-info/METADATA,sha256=3zEU83SAkBfeUEGyqX8SppXs6O5tqT0OcsHcV09jj3o,229
|
|
59
|
+
wowool_common-3.1.2.dev1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
60
|
+
wowool_common-3.1.2.dev1.dist-info/top_level.txt,sha256=zerqoDN-iHSHwsS1SN2h0q4H6RI1FOVeHW8fNQC9YdU,7
|
|
61
|
+
wowool_common-3.1.2.dev1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|