16awala / py-sscstu

Super Simple Cloud Storage Utility
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Super Simple Cloud Storage Transfer Utilities

This project is designed to be a super high level interface for transferring files to and from various cloud storage solutions.

For example, copying a single folder from one S3 bucket to another:

from sscstu.storage.s3 import S3Storage, S3StorageItem
from sscstu.transfer import transfer

src = S3Storage(bucket_name='my-bucket')
dest = S3Storage(bucket_name='my-other-bucket')
transfer(src, dest, source_basepath="Foldername", destination_prefix="Foldername")

Installation

python3 -m pip install sscstu

Contribute

License

The project is licensed under the LGPLv3 license.