ddi-fw 0.0.61__py3-none-any.whl → 0.0.62__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.
@@ -93,7 +93,7 @@ class Py7ZipHelper:
93
93
  with py7zr.SevenZipFile(archive_name, 'r') as archive:
94
94
  archive.extractall(path=extract_path)
95
95
 
96
- def extract_multiparts(self, input_path, output_path, output_file):
96
+ def extract_multiparts(self, input_path, output_path, output_file, remove_file = True):
97
97
  parts = [input_path+'/' + p for p in os.listdir(input_path)]
98
98
  sorted_parts = sorted(parts, key = lambda x: int(x.split(".")[-1][4:]))
99
99
  create_folder_if_not_exists(output_path)
@@ -102,4 +102,5 @@ class Py7ZipHelper:
102
102
  with open(part, 'rb') as infile:
103
103
  outfile.write(infile.read())
104
104
  self.extract_archive(f"{output_path}/{output_file}", output_path)
105
- os.remove(f"{output_path}/{output_file}")
105
+ if remove_file:
106
+ os.remove(f"{output_path}/{output_file}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ddi_fw
3
- Version: 0.0.61
3
+ Version: 0.0.62
4
4
  Summary: Do not use :)
5
5
  Author-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
6
6
  Maintainer-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
@@ -80,10 +80,10 @@ ddi_fw/test/torch_cuda_test.py,sha256=R-4VGVErl_Ufk54DoZbgL_YXWoCYFyanIVWd6P39IE
80
80
  ddi_fw/test/type_guarding_test.py,sha256=KxjyBxohDu7lwpejalCj-REjtJ-k1S1wQbOB6TGY0O8,766
81
81
  ddi_fw/utils/__init__.py,sha256=x1ypYJRKJlbF9x4psHYGXj-YbDD8T_c28gXZkr03cdE,273
82
82
  ddi_fw/utils/enums.py,sha256=19eJ3fX5eRK_xPvkYcukmug144jXPH4X9zQqtsFBj5A,671
83
- ddi_fw/utils/py7zr_helper.py,sha256=dgfHqXDBWys1hmd1JlHhYyZGxrzYWi6siYiUq3bnLuI,4698
83
+ ddi_fw/utils/py7zr_helper.py,sha256=gOqaFIyJvTjUM-btO2x9AQ69jZOS8PoKN0wetYIckJw,4747
84
84
  ddi_fw/utils/utils.py,sha256=szwnxMTDRrZoeNRyDuf3aCbtzriwtaRk4mHSH3asLdA,4301
85
85
  ddi_fw/utils/zip_helper.py,sha256=YRZA4tKZVBJwGQM0_WK6L-y5MoqkKoC-nXuuHK6CU9I,5567
86
- ddi_fw-0.0.61.dist-info/METADATA,sha256=7JkmFI1nIibnlPkq8_Hsnl8napLtHRrH8Y9dDiqdHVY,1565
87
- ddi_fw-0.0.61.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
88
- ddi_fw-0.0.61.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
89
- ddi_fw-0.0.61.dist-info/RECORD,,
86
+ ddi_fw-0.0.62.dist-info/METADATA,sha256=Osa0PYBMQcu8Pshz-QZ-uJ8lEcOU12zl0DmeXtCxREE,1565
87
+ ddi_fw-0.0.62.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
88
+ ddi_fw-0.0.62.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
89
+ ddi_fw-0.0.62.dist-info/RECORD,,