- Added a new module
cloudpathlib.local
with utilities for mocking cloud paths in tests. The module has "Local" substitute classes that use the local filesystem in place of cloud storage. See the new documentation article "Testing code that uses cloudpathlib" to learn more about how to use them. (#107)
- Fixed bug where a
NameError
was raised if the Google Cloud Storage dependencies were not installed (even if using a different storage provider).
- Added support for Google Cloud Storage. Instantiate with URIs prefixed by
gs://
or explicitly using theGSPath
class. (#113 thanks to @wolfgangwazzlestrauss) - Changed backend logic to reduce number of network calls to cloud. This should result in faster cloud path operations, especially when dealing with many small files. (#110, #111)
- Fixed
CloudPath
instantiation so that reinstantiating with an existingCloudPath
instance will reuse the same client, if a new client is not explicitly passed. This addresses the edge case of non-idempotency when reinstantiating aCloudPath
instance with a non-default client. (#104)
- Fixed a character-encoding bug when building from source on Windows. (#98)
- Initial release of cloudpathlib with support for Amazon S3 and Azure Blob Storage! 🎉