Skip to content

Key Upload/Download/Size

Compare
Choose a tag to compare
@jpetrucciani jpetrucciani released this 01 Oct 18:57

This release adds some useful new tools for S3Key:

  • S3Key.download() for downloading to a file path or a file-like object
  • S3Key.upload() for uploading to a key from a file path or a file-like object
  • S3Key.size() or len(S3Key) for getting the size of the object at the given key

as well as adding:

  • 100% coverage (minus one line of raising an Exception on other boto Errors)
  • more examples in the readme
  • python 3.8 testing on Travis-CI