0.3.0
- Added MD5 checksum validation for
Download
that uses astream
(#32). This implementation is partial but we considered it worth releasing with limitations. Worth noting:- This is only implemented for the
requests
version ofDownload
(i.e. not in the baseDownload
class and not for therequests
version ofChunkedDownload
) - This is only implemented for MD5 checksums, not CRC32C checksums
- This will not verify checksums for "composite objects" (i.e. those created via
storage.objects.compose
) because those objects do not have an MD5 checksum on the server (i.e. they only have a CRC32C checksum) - The MD5 checksum will not be validated if the
Download
was not created with astream
(this is because the implementation updates the checksum in chunks as the request body is consumed into thestream
) - Progress can be followed on #22
- This is only implemented for the
- Added an extra (#30) so that
requests
can be installed alongsidegoogle-resumable-media
viapip install google-resumable-media[requests]
PyPI: https://pypi.org/project/google-resumable-media/0.3.0/
Docs: https://googlecloudplatform.github.io/google-resumable-media-python/0.3.0/