Cloudpathlib

Latest version: v0.18.1

Safety actively analyzes 623586 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.18.0

- Implement sliced downloads in GSClient. (Issue [387](https://github.com/drivendataorg/cloudpathlib/issues/387), PR [#389](https://github.com/drivendataorg/cloudpathlib/pull/389))
- Implement `as_url` with presigned parameter for all backends. (Issue [235](https://github.com/drivendataorg/cloudpathlib/issues/235), PR [#236](https://github.com/drivendataorg/cloudpathlib/pull/236))
- Stream to and from Azure Blob Storage. (PR [403](https://github.com/drivendataorg/cloudpathlib/pull/403))
- Implement `file:` URI scheme support for `AnyPath`. (Issue [401](https://github.com/drivendataorg/cloudpathlib/issues/401), PR [#404](https://github.com/drivendataorg/cloudpathlib/pull/404))

**Note: This is the last planned Python 3.7 compatible release version.**

0.17.0

- Fix `S3Client` cleanup via `Client.__del__` when `S3Client` encounters an exception during initialization. (Issue [372](https://github.com/drivendataorg/cloudpathlib/issues/372), PR [#373](https://github.com/drivendataorg/cloudpathlib/pull/373), thanks to [bryanwweber](https://github.com/bryanwweber))
- Skip mtime checks during upload when force_overwrite_to_cloud is set to improve upload performance. (Issue [379](https://github.com/drivendataorg/cloudpathlib/issues/379), PR [#380](https://github.com/drivendataorg/cloudpathlib/pull/380), thanks to [Gilthans](https://github.com/Gilthans))

0.16.0

- Add "CloudPath" as return type on `__init__` for mypy issues. ([Issue 179](https://github.com/drivendataorg/cloudpathlib/issues/179), [PR #342](https://github.com/drivendataorg/cloudpathlib/pull/342))
- Add `with_stem` to all path types when python version supports it (>=3.9). ([Issue 287](https://github.com/drivendataorg/cloudpathlib/issues/287), [PR #290](https://github.com/drivendataorg/cloudpathlib/pull/290), thanks to [Gilthans](https://github.com/Gilthans))
- Add `newline` parameter to the `write_text` method to align to `pathlib` functionality as of Python 3.10. [PR 362](https://github.com/drivendataorg/cloudpathlib/pull/362), thanks to [pricemg](https://github.com/pricemg).
- Add support for Python 3.12 ([PR 364](https://github.com/drivendataorg/cloudpathlib/pull/364))
- Add `CLOUDPATHLIB_LOCAL_CACHE_DIR` env var for setting local_cache_dir default for clients ([Issue 352](https://github.com/drivendataorg/cloudpathlib/issues/352), [PR #357](https://github.com/drivendataorg/cloudpathlib/pull/357))
- Add `CONTRIBUTING.md` instructions for contributors ([Issue 213](https://github.com/drivendataorg/cloudpathlib/issues/213), [PR #367](https://github.com/drivendataorg/cloudpathlib/pull/367))

0.15.1

- Compatibility with pydantic >= 2.0.0. ([PR 349](https://github.com/drivendataorg/cloudpathlib/pull/349))

0.15.0

- Changed return type for `CloudPathMeta.__call__` to fix problems with pyright/pylance ([PR 330](https://github.com/drivendataorg/cloudpathlib/pull/330))
- Make `CloudPath.is_valid_cloudpath` a TypeGuard so that type checkers can know the subclass if `is_valid_cloudpath` is called ([PR 337](https://github.com/drivendataorg/cloudpathlib/pull/337))
- Added `follow_symlinks` to `stat` for 3.11.4 compatibility (see [bpo 39906](https://github.com/python/cpython/issues/84087))
- Add `follow_symlinks` to `is_dir` implementation for CPython `glob` compatibility (see [CPython PR 104512](https://github.com/python/cpython/pull/104512))

0.14.0

- Changed to pyproject.toml-based build.
- Changed type hints from custom type variable `DerivedCloudPath` to [`typing.Self`](https://docs.python.org/3/library/typing.html#typing.Self) ([PEP 673](https://docs.python.org/3/library/typing.html#typing.Self)). This adds a dependency on the [typing-extensions](https://pypi.org/project/typing-extensions/) backport package from Python versions lower than 3.11.
- Fixed a runtime key error when an S3 object does not have the `Content-Type` metadata set. ([Issue 331](https://github.com/drivendataorg/cloudpathlib/issues/331), [PR #332](https://github.com/drivendataorg/cloudpathlib/pull/332))

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.