ScriptCollection 3.4.37__py3-none-any.whl → 3.4.38__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.
- ScriptCollection/ScriptCollectionCore.py +10 -8
- {ScriptCollection-3.4.37.dist-info → ScriptCollection-3.4.38.dist-info}/METADATA +1 -2
- {ScriptCollection-3.4.37.dist-info → ScriptCollection-3.4.38.dist-info}/RECORD +6 -6
- {ScriptCollection-3.4.37.dist-info → ScriptCollection-3.4.38.dist-info}/WHEEL +0 -0
- {ScriptCollection-3.4.37.dist-info → ScriptCollection-3.4.38.dist-info}/entry_points.txt +0 -0
- {ScriptCollection-3.4.37.dist-info → ScriptCollection-3.4.38.dist-info}/top_level.txt +0 -0
|
@@ -19,9 +19,7 @@ import requests
|
|
|
19
19
|
import ntplib
|
|
20
20
|
import qrcode
|
|
21
21
|
import pycdlib
|
|
22
|
-
from PIL import Image
|
|
23
22
|
import send2trash
|
|
24
|
-
import fitz
|
|
25
23
|
import PyPDF2
|
|
26
24
|
from .GeneralUtilities import GeneralUtilities
|
|
27
25
|
from .ProgramRunnerBase import ProgramRunnerBase
|
|
@@ -29,7 +27,7 @@ from .ProgramRunnerPopen import ProgramRunnerPopen
|
|
|
29
27
|
from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
|
|
30
28
|
|
|
31
29
|
|
|
32
|
-
version = "3.4.
|
|
30
|
+
version = "3.4.38"
|
|
33
31
|
__version__ = version
|
|
34
32
|
|
|
35
33
|
|
|
@@ -679,11 +677,15 @@ class ScriptCollectionCore:
|
|
|
679
677
|
|
|
680
678
|
@GeneralUtilities.check_arguments
|
|
681
679
|
def pdf_to_image(self, file: str, outputfilename_without_extension: str) -> None:
|
|
682
|
-
|
|
683
|
-
for
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
680
|
+
raise ValueError("Function currently not available")
|
|
681
|
+
# PyMuPDF can be used for that but sometimes it throws
|
|
682
|
+
# "ImportError: DLL load failed while importing _fitz: Das angegebene Modul wurde nicht gefunden."
|
|
683
|
+
|
|
684
|
+
# doc = None # fitz.open(file)
|
|
685
|
+
# for i, page in enumerate(doc):
|
|
686
|
+
# pix = page.get_pixmap()
|
|
687
|
+
# img = Image.frombytes("RGB", [pix.width, pix.height], pix.samples)
|
|
688
|
+
# img.save(f"{outputfilename_without_extension}_{i}.png", "PNG")
|
|
687
689
|
|
|
688
690
|
@GeneralUtilities.check_arguments
|
|
689
691
|
def show_missing_files(self, folderA: str, folderB: str):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ScriptCollection
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.38
|
|
4
4
|
Summary: The ScriptCollection is the place for reusable scripts.
|
|
5
5
|
Home-page: https://github.com/anionDev/ScriptCollection
|
|
6
6
|
Author: Marius Göcke
|
|
@@ -34,7 +34,6 @@ Requires-Dist: pycdlib >=1.14.0
|
|
|
34
34
|
Requires-Dist: Pygments >=2.16.1
|
|
35
35
|
Requires-Dist: pylint >=3.0.2
|
|
36
36
|
Requires-Dist: pyOpenSSL >=23.2.0
|
|
37
|
-
Requires-Dist: PyMuPDF >=1.23.5
|
|
38
37
|
Requires-Dist: PyPDF2 >=3.0.1
|
|
39
38
|
Requires-Dist: pytest >=7.4.2
|
|
40
39
|
Requires-Dist: qrcode >=7.4.2
|
|
@@ -3,12 +3,12 @@ ScriptCollection/GeneralUtilities.py,sha256=t91Z5spUMt7H_BdfMJMbEx_nJApJmLZsqozl
|
|
|
3
3
|
ScriptCollection/ProgramRunnerBase.py,sha256=2kyOuoM3oFjBfLc9Q5t5RTz7Ya2CjUxFtB1rBBDmnjU,1937
|
|
4
4
|
ScriptCollection/ProgramRunnerEpew.py,sha256=nIzY4dG6W-xEpkeoTbozwNZtFSIo-bU_W6t6u1AZKtE,6275
|
|
5
5
|
ScriptCollection/ProgramRunnerPopen.py,sha256=veDNRg2Z0u0vd4iKWAycVFKbTm_uWYfuK6NTiwlbgrM,3230
|
|
6
|
-
ScriptCollection/ScriptCollectionCore.py,sha256
|
|
6
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=P26Jqzw2LUrf4kwlwvtcdkd0Ki9t1Q_D6JpXdcuhHl8,94258
|
|
7
7
|
ScriptCollection/TasksForCommonProjectStructure.py,sha256=mmSl59TMPq-sVrs6zqDnA2iYGMzYtwwitKPEAtu8ToY,158840
|
|
8
8
|
ScriptCollection/UpdateCertificates.py,sha256=Go-JJK-YTi7aBB1phlLxypa8GHkmFHBEPB0_TT9G-bw,7918
|
|
9
9
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
ScriptCollection-3.4.
|
|
11
|
-
ScriptCollection-3.4.
|
|
12
|
-
ScriptCollection-3.4.
|
|
13
|
-
ScriptCollection-3.4.
|
|
14
|
-
ScriptCollection-3.4.
|
|
10
|
+
ScriptCollection-3.4.38.dist-info/METADATA,sha256=ZR3FonfRXzhhdIN3roXFYMF7h00fCTaSL7Aip732HC8,7611
|
|
11
|
+
ScriptCollection-3.4.38.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
12
|
+
ScriptCollection-3.4.38.dist-info/entry_points.txt,sha256=dJKdWcH41owxlKx_khj4P7DItr9lhxWP9JU2Dq8GSsQ,2088
|
|
13
|
+
ScriptCollection-3.4.38.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
|
14
|
+
ScriptCollection-3.4.38.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|