Cloud Storage Slim
Make operations across various cloud storage platforms simple.
Installation
pip install cloud-storage-slim
Usage
from cloud_storage_slim import CloudStorageSlim
cloud_storage = CloudStorageSlim()
cloud_storage.copyto('gs://bucket1/object1', 'az://bucket2/object2')
Features
Supported Cloud Storage
- Google Cloud Storage
- Azure Blob Storage
- AlibabaCloud / Aliyun OSS
- AWS S3
- Byteplus & Volcengine - Torch Object Storage
Credentials
Google Cloud Storage
- How Application Default Credentials works
GOOGLE_APPLICATION_CREDENTIALS- google-cloud-python
pip install google-cloud-storage
Amazon S3
- 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
Azure Blob Storage
- Manage storage account access keys
AZURE_STORAGE_ACCOUNT_NAME,AZURE_STORAGE_ACCOUNT_KEY
pip install azure-storage-blob azure-identity
AlibabaCloud / Aliyun OSS
- Configure access credentials
OSS_ENDPOINTOSS_ACCESS_KEY_ID,OSS_ACCESS_KEY_SECRETOSS_SESSION_TOKEN- oss2
pip install oss2
Byteplus & Volcengine - Torch Object Storage
- Byteplus Region and Endpoint
- Volcengine Region and Endpoint
S3 Compatible API
- Byteplus Compatibility with Amazon S3
- Volcengine Compatibility with Amazon S3
TOS SDK
TOS_ENDPOINT_URLTOS_ACCESS_KEY_IDTOS_SECRET_ACCESS_KEYTOS_DEFAULT_REGION- ve-tos-python-sdk
pip install tos
Test cases
before run test cases, you need to prepare the test bucket.
Release files for cloud-storage-slim 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloud_storage_slim-0.3.5.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloud_storage_slim-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.0 kB
Release files / cloud_storage_slim-0.3.5.tar.gz
| Download URL | cloud_storage_slim-0.3.5.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7697ea9d902dc45d05a0a11c328cefbabaeb8efcaff91d0ba2d1b85e05fe925e
|
|
BLAKE2b-256 checksum How to use checksums |
289b2dfa2a1696a2a32a68df45d67079b0e2687685bbf6649f3abb7355587170
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / cloud_storage_slim-0.3.5-py3-none-any.whl
| Download URL | cloud_storage_slim-0.3.5-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
117f10c6711e01e31d3abfc1f47395d16f37b4c73581569cc515acae49de6b05
|
|
BLAKE2b-256 checksum How to use checksums |
0278febe1273e7dfbf9fdd423c3a7140d40fecfccf767ad4e9501c336d67bbd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|