Make operations across various cloud storage platforms simple.
pip install cloud-storage-slimfrom cloud_storage_slim import CloudStorageSlim
cloud_storage = CloudStorageSlim()
cloud_storage.copyto('gs://bucket1/object1', 'az://bucket2/object2')- Google Cloud Storage
- Azure Blob Storage
- AlibabaCloud / Aliyun OSS
- AWS S3
- Byteplus & Volcengine - Torch Object Storage
- How Application Default Credentials works
GOOGLE_APPLICATION_CREDENTIALS- google-cloud-python
pip install google-cloud-storage- Boto3 Configuring credentials
- Using environment variables
AWS_ENDPOINT_URL_S3AWS_DEFAULT_REGIONAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEYAWS_SESSION_TOKEN- Boto3
pip install boto3- Manage storage account access keys
AZURE_STORAGE_ACCOUNT_NAME,AZURE_STORAGE_ACCOUNT_KEY
pip install azure-storage-blob azure-identity- Configure access credentials
OSS_ENDPOINTOSS_ACCESS_KEY_ID,OSS_ACCESS_KEY_SECRETOSS_SESSION_TOKEN- oss2
pip install oss2- Byteplus Region and Endpoint
- Volcengine Region and Endpoint
- Byteplus Compatibility with Amazon S3
- Volcengine Compatibility with Amazon S3
TOS_ENDPOINT_URLTOS_ACCESS_KEY_IDTOS_SECRET_ACCESS_KEYTOS_DEFAULT_REGION- ve-tos-python-sdk
pip install tosbefore run test cases, you need to prepare the test bucket.