cloud-files 5.2.0__py3-none-any.whl → 5.3.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloud-files
3
- Version: 5.2.0
3
+ Version: 5.3.1
4
4
  Summary: Fast access to cloud storage and local FS.
5
5
  Home-page: https://github.com/seung-lab/cloud-files/
6
6
  Author: William Silversmith
@@ -6,7 +6,7 @@ cloudfiles/exceptions.py,sha256=N0oGQNG-St6RvnT8e5p_yC_E61q2kgAe2scwAL0F49c,843
6
6
  cloudfiles/gcs.py,sha256=unqu5KxGKaPq6N4QeHSpCDdtnK1BzPOAerTZ8FLt2_4,3820
7
7
  cloudfiles/interfaces.py,sha256=f_7doKCiI_8--ghsQJvh8f5HhAn5u3haSlPHlxi_jbw,43949
8
8
  cloudfiles/lib.py,sha256=HHjCvjmOjA0nZWSvHGoSeYpxqd6FAG8xk8LM212LAUA,5382
9
- cloudfiles/paths.py,sha256=m-yqw8UZDyqSh5UmAbhxAwiHfghm8ZlM-PYhMIFRvBg,11970
9
+ cloudfiles/paths.py,sha256=ZfdFvbQoFiGgICPM4cjT2TzfP6vf3WEcj31aKON6IwE,12120
10
10
  cloudfiles/resumable_tools.py,sha256=NyuSoGh1SaP5akrHCpd9kgy2-JruEWrHW9lvJxV7jpE,6711
11
11
  cloudfiles/scheduler.py,sha256=DqDANmOpB3NdzFgJDNMMibRIkCrXQqIh2XGL8GWoc9c,3668
12
12
  cloudfiles/secrets.py,sha256=791b5a8nWSBYtlleGzKeoYIR5jl-FI1bw6INRM4Wy-0,5295
@@ -15,12 +15,12 @@ cloudfiles/threaded_queue.py,sha256=Nl4vfXhQ6nDLF8PZpSSBpww0M2zWtcd4DLs3W3BArBw,
15
15
  cloudfiles/typing.py,sha256=f3ZYkNfN9poxhGu5j-P0KCxjCCqSn9HAg5KiIPkjnCg,416
16
16
  cloudfiles_cli/LICENSE,sha256=Jna4xYE8CCQmaxjr5Fs-wmUBnIQJ1DGcNn9MMjbkprk,1538
17
17
  cloudfiles_cli/__init__.py,sha256=Wftt3R3F21QsHtWqx49ODuqT9zcSr0em7wk48kcH0WM,29
18
- cloudfiles_cli/cloudfiles_cli.py,sha256=_2Amjp3vsdq7vQgF2utD6BJqjOPKXOTjrJyehnlojpQ,34893
19
- cloud_files-5.2.0.dist-info/AUTHORS,sha256=BFVmobgAhaVFI5fqbuqAY5XmBQxe09ZZAsAOTy87hKQ,318
20
- cloud_files-5.2.0.dist-info/LICENSE,sha256=Jna4xYE8CCQmaxjr5Fs-wmUBnIQJ1DGcNn9MMjbkprk,1538
21
- cloud_files-5.2.0.dist-info/METADATA,sha256=A4pHEujfPkvc7EPJXzLkD6qTmHHjTGa6j-gRdGKpzOc,27047
22
- cloud_files-5.2.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
23
- cloud_files-5.2.0.dist-info/entry_points.txt,sha256=xlirb1FVhn1mbcv4IoyMEGumDqKOA4VMVd3drsRQxIg,51
24
- cloud_files-5.2.0.dist-info/pbr.json,sha256=uVr_LHVHsu5P73ohQ8kBMAaEXy0hIXNBvQ1egxi8D0I,46
25
- cloud_files-5.2.0.dist-info/top_level.txt,sha256=xPyrST3okJbsmdCF5IC2gYAVxg_aD5AYVTnNo8UuoZU,26
26
- cloud_files-5.2.0.dist-info/RECORD,,
18
+ cloudfiles_cli/cloudfiles_cli.py,sha256=KIK917MxYGmwiI7mXVYpL4M8iiyMew8Pd1eyWoI57yE,34866
19
+ cloud_files-5.3.1.dist-info/AUTHORS,sha256=BFVmobgAhaVFI5fqbuqAY5XmBQxe09ZZAsAOTy87hKQ,318
20
+ cloud_files-5.3.1.dist-info/LICENSE,sha256=Jna4xYE8CCQmaxjr5Fs-wmUBnIQJ1DGcNn9MMjbkprk,1538
21
+ cloud_files-5.3.1.dist-info/METADATA,sha256=AItMJG_tL6NMP9igPrrYBQCvKJFQBMhllgch_kVvWeo,27047
22
+ cloud_files-5.3.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
23
+ cloud_files-5.3.1.dist-info/entry_points.txt,sha256=xlirb1FVhn1mbcv4IoyMEGumDqKOA4VMVd3drsRQxIg,51
24
+ cloud_files-5.3.1.dist-info/pbr.json,sha256=z6Jvc748TUFicKdHSQST3TSsqrFb8UhK-ufEg5LsoOg,46
25
+ cloud_files-5.3.1.dist-info/top_level.txt,sha256=xPyrST3okJbsmdCF5IC2gYAVxg_aD5AYVTnNo8UuoZU,26
26
+ cloud_files-5.3.1.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ {"git_version": "7636038", "is_release": true}
cloudfiles/paths.py CHANGED
@@ -171,6 +171,10 @@ for alias, host in OFFICIAL_ALIASES.items():
171
171
  def normalize(path):
172
172
 
173
173
  path = path.removesuffix(PRECOMPUTED_SUFFIX)
174
+ m = re.search(TAIL_FORMAT_REGEXP, path)
175
+ if m is not None:
176
+ path = re.sub(TAIL_FORMAT_REGEXP, "", path)
177
+ path = f"{m.group('fmt')}://{path}"
174
178
 
175
179
  fmt, proto, endpoint, cloudpath, alias = extract_format_protocol(
176
180
  path, allow_defaults=False
@@ -16,8 +16,7 @@ import sys
16
16
  # High Sierra and above when we are using
17
17
  # a thread before forking. Instead, don't fork,
18
18
  # spawn entirely new processes.
19
- import multiprocess.context as ctx
20
- ctx._force_start_method('spawn')
19
+ mp.set_start_method("spawn", force=True)
21
20
 
22
21
  import click
23
22
  import pathos.pools
@@ -1 +0,0 @@
1
- {"git_version": "bee40ef", "is_release": true}