rms-filecache 2.2.0__tar.gz → 2.2.1__tar.gz

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.
Files changed (48) hide show
  1. {rms_filecache-2.2.0/rms_filecache.egg-info → rms_filecache-2.2.1}/PKG-INFO +1 -1
  2. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/filecache/_version.py +2 -2
  3. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/filecache/file_cache_path.py +7 -6
  4. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/pyproject.toml +1 -1
  5. {rms_filecache-2.2.0 → rms_filecache-2.2.1/rms_filecache.egg-info}/PKG-INFO +1 -1
  6. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/.coveragerc +0 -0
  7. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/.flake8 +0 -0
  8. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/.github/pull_request_template.md +0 -0
  9. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/.github/workflows/publish_to_pypi.yml +0 -0
  10. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/.github/workflows/publish_to_test_pypi.yml +0 -0
  11. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/.github/workflows/run-tests.yml +0 -0
  12. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/.gitignore +0 -0
  13. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/.readthedocs.yaml +0 -0
  14. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/LICENSE +0 -0
  15. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/README.md +0 -0
  16. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/docs/Makefile +0 -0
  17. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/docs/conf.py +0 -0
  18. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/docs/index.rst +0 -0
  19. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/docs/make.bat +0 -0
  20. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/docs/module.rst +0 -0
  21. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/filecache/__init__.py +0 -0
  22. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/filecache/file_cache.py +0 -0
  23. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/filecache/file_cache_source.py +0 -0
  24. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/filecache/file_cache_types.py +0 -0
  25. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/filecache/py.typed +0 -0
  26. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/mypy.ini +0 -0
  27. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/requirements.txt +0 -0
  28. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/rms_filecache.egg-info/SOURCES.txt +0 -0
  29. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/rms_filecache.egg-info/dependency_links.txt +0 -0
  30. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/rms_filecache.egg-info/requires.txt +0 -0
  31. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/rms_filecache.egg-info/top_level.txt +0 -0
  32. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/setup.cfg +0 -0
  33. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/test_files/expected/lorem1.txt +0 -0
  34. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/test_files/expected/subdir1/lorem1.txt +0 -0
  35. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/test_files/expected/subdir1/subdir2a/binary1.bin +0 -0
  36. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/test_files/expected/subdir1/subdir2b/binary1.bin +0 -0
  37. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/test_programs/locking.py +0 -0
  38. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/test_programs/multi_download.py +0 -0
  39. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/__init__.py +0 -0
  40. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/gs_lifecycle_config.json +0 -0
  41. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/gs_lifecycle_config_info.txt +0 -0
  42. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/s3_bucket_policy_read.txt +0 -0
  43. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/s3_bucket_policy_write.txt +0 -0
  44. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/s3_lifecycle_policy.txt +0 -0
  45. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/test_file_cache.py +0 -0
  46. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/test_file_cache_path.py +0 -0
  47. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/test_file_cache_source.py +0 -0
  48. {rms_filecache-2.2.0 → rms_filecache-2.2.1}/tests/test_url_to_path.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rms-filecache
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: File cache for files retrieved from the cloud
5
5
  Maintainer-email: "Robert S. French" <rfrench@seti.org>
6
6
  License: Apache-2.0
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '2.2.0'
16
- __version_tuple__ = version_tuple = (2, 2, 0)
15
+ __version__ = version = '2.2.1'
16
+ __version_tuple__ = version_tuple = (2, 2, 1)
@@ -1991,12 +1991,13 @@ class _StringGlobber:
1991
1991
 
1992
1992
  def select_recursive(path: str,
1993
1993
  exists: bool = False) -> Generator[FCPath]:
1994
- if path and path[-1] != '/':
1995
- path = f'{path}/'
1996
- match_pos = len(str(path))
1997
- if match is None or match(str(path), match_pos):
1998
- yield from select_next(path, exists)
1999
- stack = [path]
1994
+ path_str = str(path)
1995
+ if path_str and path_str[-1] != '/':
1996
+ path_str = f'{path_str}/'
1997
+ match_pos = len(path_str)
1998
+ if match is None or match(path_str, match_pos):
1999
+ yield from select_next(path_str, exists)
2000
+ stack = [path_str]
2000
2001
  while stack:
2001
2002
  yield from select_recursive_step(stack, match_pos)
2002
2003
 
@@ -53,7 +53,7 @@ Issues = "https://github.com/SETI/rms-filecache/issues"
53
53
  packages = ["filecache"]
54
54
 
55
55
  [tool.setuptools.package-data]
56
- "pkgname" = ["py.typed"]
56
+ "filecache" = ["py.typed"]
57
57
 
58
58
  [tool.setuptools_scm]
59
59
  local_scheme = "no-local-version"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rms-filecache
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: File cache for files retrieved from the cloud
5
5
  Maintainer-email: "Robert S. French" <rfrench@seti.org>
6
6
  License: Apache-2.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes