A lightweight cloud storage package for popular cloud storage services.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloud_storage_slim-0.3.5.tar.gz
(10.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloud_storage_slim-0.3.5.tar.gz.
File metadata
- Download URL: cloud_storage_slim-0.3.5.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7697ea9d902dc45d05a0a11c328cefbabaeb8efcaff91d0ba2d1b85e05fe925e
|
|
| MD5 |
bb9b753aa3c6f9b340f372b7ab092150
|
|
| BLAKE2b-256 |
289b2dfa2a1696a2a32a68df45d67079b0e2687685bbf6649f3abb7355587170
|
File details
Details for the file cloud_storage_slim-0.3.5-py3-none-any.whl.
File metadata
- Download URL: cloud_storage_slim-0.3.5-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
117f10c6711e01e31d3abfc1f47395d16f37b4c73581569cc515acae49de6b05
|
|
| MD5 |
7c78039ad3a6a62a35a181f57b4d292a
|
|
| BLAKE2b-256 |
0278febe1273e7dfbf9fdd423c3a7140d40fecfccf767ad4e9501c336d67bbd0
|