rclone-api 1.5.4__py2.py3-none-any.whl → 1.5.5__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.
rclone_api/__init__.py CHANGED
@@ -794,6 +794,7 @@ class Rclone:
794
794
  src: Remote | Dir | str,
795
795
  outdir: Path,
796
796
  allow_writes: bool | None = False,
797
+ transfers: int | None = None, # number of writes to perform in parallel
797
798
  use_links: bool | None = None,
798
799
  vfs_cache_mode: str | None = None,
799
800
  verbose: bool | None = None,
@@ -811,6 +812,7 @@ class Rclone:
811
812
  src: Remote or directory to mount
812
813
  outdir: Local path to mount to
813
814
  allow_writes: Whether to allow write operations
815
+ transfers: Number of parallel write operations
814
816
  use_links: Whether to use symbolic links
815
817
  vfs_cache_mode: VFS cache mode (e.g., "full", "minimal")
816
818
  verbose: Whether to show detailed output
@@ -826,6 +828,7 @@ class Rclone:
826
828
  src=src,
827
829
  outdir=outdir,
828
830
  allow_writes=allow_writes,
831
+ transfers=transfers,
829
832
  use_links=use_links,
830
833
  vfs_cache_mode=vfs_cache_mode,
831
834
  verbose=verbose,
rclone_api/rclone_impl.py CHANGED
@@ -996,6 +996,7 @@ class RcloneImpl:
996
996
  src: Remote | Dir | str,
997
997
  outdir: Path,
998
998
  allow_writes: bool | None = False,
999
+ transfers: int | None = None,
999
1000
  use_links: bool | None = None,
1000
1001
  vfs_cache_mode: str | None = None,
1001
1002
  verbose: bool | None = None,
@@ -1036,6 +1037,9 @@ class RcloneImpl:
1036
1037
  if cache_dir:
1037
1038
  cmd_list.append("--cache-dir")
1038
1039
  cmd_list.append(str(cache_dir.absolute()))
1040
+ if transfers is not None:
1041
+ cmd_list.append("--transfers")
1042
+ cmd_list.append(str(transfers))
1039
1043
  if debug_fuse:
1040
1044
  cmd_list.append("--debug-fuse")
1041
1045
  if verbose:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rclone_api
3
- Version: 1.5.4
3
+ Version: 1.5.5
4
4
  Summary: rclone api in python
5
5
  Home-page: https://github.com/zackees/rclone-api
6
6
  License: BSD 3-Clause License
@@ -100,6 +100,8 @@ def test_ls_glob_png(self) -> None:
100
100
 
101
101
  ```python
102
102
 
103
+ from rclone_api import Rclone
104
+
103
105
  class Rclone:
104
106
  """
105
107
  Main interface for interacting with Rclone.
@@ -831,6 +833,7 @@ class Rclone:
831
833
  src: Remote | Dir | str,
832
834
  outdir: Path,
833
835
  allow_writes: bool | None = False,
836
+ transfers: int | None = None, # number of writes to perform in parallel
834
837
  use_links: bool | None = None,
835
838
  vfs_cache_mode: str | None = None,
836
839
  verbose: bool | None = None,
@@ -848,6 +851,7 @@ class Rclone:
848
851
  src: Remote or directory to mount
849
852
  outdir: Local path to mount to
850
853
  allow_writes: Whether to allow write operations
854
+ transfers: Number of parallel write operations
851
855
  use_links: Whether to use symbolic links
852
856
  vfs_cache_mode: VFS cache mode (e.g., "full", "minimal")
853
857
  verbose: Whether to show detailed output
@@ -863,6 +867,7 @@ class Rclone:
863
867
  src=src,
864
868
  outdir=outdir,
865
869
  allow_writes=allow_writes,
870
+ transfers=transfers,
866
871
  use_links=use_links,
867
872
  vfs_cache_mode=vfs_cache_mode,
868
873
  verbose=verbose,
@@ -1,4 +1,4 @@
1
- rclone_api/__init__.py,sha256=scamI3-3a5l0x14rkaDa4cREMpftBbtGZ33OGy3ZKS8,32204
1
+ rclone_api/__init__.py,sha256=uhoHM66jDRlk0Hq4PTrk7QZE6VcJqiu5Jeo9nj34edk,32380
2
2
  rclone_api/cli.py,sha256=dibfAZIh0kXWsBbfp3onKLjyZXo54mTzDjUdzJlDlWo,231
3
3
  rclone_api/completed_process.py,sha256=_IZ8IWK7DM1_tsbDEkH6wPZ-bbcrgf7A7smls854pmg,1775
4
4
  rclone_api/config.py,sha256=f6jEAxVorGFr31oHfcsu5AJTtOJj2wR5tTSsbGGZuIw,2558
@@ -19,7 +19,7 @@ rclone_api/install.py,sha256=Xb1BRn8rQcSpSd4dzmvIOELP2zM2DytUeIZ6jzv738A,2893
19
19
  rclone_api/log.py,sha256=VZHM7pNSXip2ZLBKMP7M1u-rp_F7zoafFDuR8CPUoKI,1271
20
20
  rclone_api/mount.py,sha256=TE_VIBMW7J1UkF_6HRCt8oi_jGdMov4S51bm2OgxFAM,10045
21
21
  rclone_api/process.py,sha256=tGooS5NLdPuqHh7hCH8SfK44A6LGftPQCPQUNgSo0a0,5714
22
- rclone_api/rclone_impl.py,sha256=h9jDtUC08b_5jciRZL0L-GGMkxGYKnursylb9p2gksU,46145
22
+ rclone_api/rclone_impl.py,sha256=fhpl149P_dtfxTfwT0hHBaCIe4AJ3BHLXLVsC-QzmPo,46304
23
23
  rclone_api/remote.py,sha256=mTgMTQTwxUmbLjTpr-AGTId2ycXKI9mLX5L7PPpDIoc,520
24
24
  rclone_api/rpath.py,sha256=Y1JjQWcie39EgQrq-UtbfDz5yDLCwwfu27W7AQXllSE,2860
25
25
  rclone_api/scan_missing_folders.py,sha256=-8NCwpCaHeHrX-IepCoAEsX1rl8S-GOCxcIhTr_w3gA,4747
@@ -52,9 +52,9 @@ rclone_api/s3/multipart/upload_parts_inline.py,sha256=V7syKjFyVIe4U9Ahl5XgqVTzt9
52
52
  rclone_api/s3/multipart/upload_parts_resumable.py,sha256=diJoUpVYow6No_dNgOZIYVsv43k4evb6zixqpzWJaUk,9771
53
53
  rclone_api/s3/multipart/upload_parts_server_side_merge.py,sha256=Fp2pdrs5dONQI9LkfNolgAGj1-Z2V1SsRd0r0sreuXI,18040
54
54
  rclone_api/s3/multipart/upload_state.py,sha256=f-Aq2NqtAaMUMhYitlICSNIxCKurWAl2gDEUVizLIqw,6019
55
- rclone_api-1.5.4.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
56
- rclone_api-1.5.4.dist-info/METADATA,sha256=juhrazrRWIB2URR-gfT_9tyZnxWr9m1s_UKOc7seIA4,32424
57
- rclone_api-1.5.4.dist-info/WHEEL,sha256=rF4EZyR2XVS6irmOHQIJx2SUqXLZKRMUrjsg8UwN-XQ,109
58
- rclone_api-1.5.4.dist-info/entry_points.txt,sha256=fJteOlYVwgX3UbNuL9jJ0zUTuX2O79JFAeNgK7Sw7EQ,255
59
- rclone_api-1.5.4.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
60
- rclone_api-1.5.4.dist-info/RECORD,,
55
+ rclone_api-1.5.5.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
56
+ rclone_api-1.5.5.dist-info/METADATA,sha256=BK7GrWlhZN2qAW2UCnB9W5xAyvkN5m0cez2TpgGJcWQ,32633
57
+ rclone_api-1.5.5.dist-info/WHEEL,sha256=rF4EZyR2XVS6irmOHQIJx2SUqXLZKRMUrjsg8UwN-XQ,109
58
+ rclone_api-1.5.5.dist-info/entry_points.txt,sha256=fJteOlYVwgX3UbNuL9jJ0zUTuX2O79JFAeNgK7Sw7EQ,255
59
+ rclone_api-1.5.5.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
60
+ rclone_api-1.5.5.dist-info/RECORD,,