rclone-api 1.2.12__py2.py3-none-any.whl → 1.2.13__py2.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.
@@ -85,6 +85,7 @@ def file_chunker(
85
85
  return
86
86
 
87
87
  while not should_stop():
88
+ print("@@@@@@@@@@")
88
89
  curr_part_number = next_part_number()
89
90
  if curr_part_number is None:
90
91
  locked_print(f"File {file_path} has completed chunking all parts")
@@ -106,6 +107,7 @@ def file_chunker(
106
107
  cpn: int = curr_part_number
107
108
 
108
109
  def on_complete(fut: Future[FilePart]) -> None:
110
+ print("ON COMPLETE")
109
111
  fp: FilePart = fut.result()
110
112
  if fp.is_error():
111
113
  warnings.warn(
@@ -127,6 +129,7 @@ def file_chunker(
127
129
  queue_upload.put(fp)
128
130
 
129
131
  offset = (curr_part_number - 1) * chunk_size
132
+ print(f"Reading chunk {curr_part_number} of {num_parts} for {file_path}")
130
133
  fut = fetcher(offset, file_size, S3FileInfo(upload_info.upload_id, cpn))
131
134
  fut.add_done_callback(on_complete)
132
135
  # wait until the queue_upload queue can accept the next chunk
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rclone_api
3
- Version: 1.2.12
3
+ Version: 1.2.13
4
4
  Summary: rclone api in python
5
5
  Home-page: https://github.com/zackees/rclone-api
6
6
  License: BSD 3-Clause License
@@ -28,14 +28,14 @@ rclone_api/experimental/flags_base.py,sha256=ajU_czkTcAxXYU-SlmiCfHY7aCQGHvpCLqJ
28
28
  rclone_api/profile/mount_copy_bytes.py,sha256=HK11knsykKO1WNi8LYOkQbipQBpZn7uhV5CVEQDRCJs,8558
29
29
  rclone_api/s3/api.py,sha256=PafsIEyWDpLWAXsZAjFm9CY14vJpsDr9lOsn0kGRLZ0,4009
30
30
  rclone_api/s3/basic_ops.py,sha256=hK3366xhVEzEcjz9Gk_8lFx6MRceAk72cax6mUrr6ko,2104
31
- rclone_api/s3/chunk_file.py,sha256=mk0koNiohOTJIp3nor2Lg-KlfbHeetC6GM4HVzkmEGY,4805
31
+ rclone_api/s3/chunk_file.py,sha256=k8j_4w7oOy_hR2cVMxva0cXhjPX42HwxbWdhdUprrWY,4960
32
32
  rclone_api/s3/chunk_types.py,sha256=I0YCWFgxCvmt8cp4tMabiiwiD2yKTcbA6ZL2D3xnn5w,8781
33
33
  rclone_api/s3/create.py,sha256=wgfkapv_j904CfKuWyiBIWJVxfAx_ftemFSUV14aT68,3149
34
34
  rclone_api/s3/types.py,sha256=FkUNNAk8fjSbLhDA45YgNQk9BTjmJZHT3fExiCKcDt0,1591
35
35
  rclone_api/s3/upload_file_multipart.py,sha256=TrhrYeRkpQRzmn8x_RR59ww3GXA3Wd95pCKI-Bhu9_0,11372
36
- rclone_api-1.2.12.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
37
- rclone_api-1.2.12.dist-info/METADATA,sha256=47ATkIGrPGHwqK9hqVVJifxeli3iwGFnvusvIbS0_ms,4537
38
- rclone_api-1.2.12.dist-info/WHEEL,sha256=rF4EZyR2XVS6irmOHQIJx2SUqXLZKRMUrjsg8UwN-XQ,109
39
- rclone_api-1.2.12.dist-info/entry_points.txt,sha256=TV8kwP3FRzYwUEr0RLC7aJh0W03SAefIJNXTJ-FdMIQ,200
40
- rclone_api-1.2.12.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
41
- rclone_api-1.2.12.dist-info/RECORD,,
36
+ rclone_api-1.2.13.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
37
+ rclone_api-1.2.13.dist-info/METADATA,sha256=3T1NCanOwrJrmJ61cQAL1xG4ZHIl7sksmnQI69OgjI4,4537
38
+ rclone_api-1.2.13.dist-info/WHEEL,sha256=rF4EZyR2XVS6irmOHQIJx2SUqXLZKRMUrjsg8UwN-XQ,109
39
+ rclone_api-1.2.13.dist-info/entry_points.txt,sha256=TV8kwP3FRzYwUEr0RLC7aJh0W03SAefIJNXTJ-FdMIQ,200
40
+ rclone_api-1.2.13.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
41
+ rclone_api-1.2.13.dist-info/RECORD,,