Python pathlib-style classes for cloud storage services such as Amazon S3, Azure Blob Storage, and Google Cloud Storage.
google-cloud-storage
by not using transfer_manager
if it is not available. (Issue #408, PR #410)Includes all changes from v0.18.0.
Note: This is the last planned Python 3.7 compatible release version.
as_url
with presigned parameter for all backends. (Issue #235, PR #236)file:
URI scheme support for AnyPath
. (Issue #401, PR #404)Note: This version was yanked due to incompatibility with google-cloud-storage <2.7.0 that causes an import error.
__init__
for mypy issues. (Issue #179, PR #342)with_stem
to all path types when python version supports it (>=3.9). (Issue #287, PR #290, thanks to @Gilthans)newline
parameter to the write_text
method to align to pathlib
functionality as of Python 3.10. PR #362, thanks to @pricemg.CLOUDPATHLIB_LOCAL_CACHE_DIR
env var for setting local_cache_dir default for clients (Issue #352, PR #357)CONTRIBUTING.md
instructions for contributors (Issue #213, PR #367)CloudPathMeta.__call__
to fix problems with pyright/pylance (PR #330)CloudPath.is_valid_cloudpath
a TypeGuard so that type checkers can know the subclass if is_valid_cloudpath
is called (PR #337)follow_symlinks
to stat
for 3.11.4 compatibility (see bpo 39906)follow_symlinks
to is_dir
implementation for CPython glob
compatibility (see CPython PR #104512)DerivedCloudPath
to typing.Self
(PEP 673). This adds a dependency on the typing-extensions backport package from Python versions lower than 3.11.Content-Type
metadata set. (Issue #331, PR #332)S3Client
supports an extra_args
kwarg now to pass extra args down to boto3
functions; this enables Requester Pays bucket access and bucket encryption. (Issues #254, #180; PR #307)