stowrap

stowrap: Python Storage Service Wrapper.


Keywords
gcs, s3
License
MIT
Install
pip install stowrap==0.0.1

Documentation

stowrap

Python Storage Service Wrapper

How to use

Initialize client

import stowrap

c = stowrap.Client("gcs")

or

c = stowrap.Client("s3")

Upload a file

result = c.upload("my-bucket", "/path/to/local/file", "dstfile.txt")
print(result.url)

Download a file

c.download("my-bucket", "some/remote/file.txt", "/path/to/local/file.txt")