Interface of S3 and Google Storgae
Project description
Cloud Storage
Why this is built?
In order to provide interface for upload, download, and exceptions for AWS S3 and GCS.
If you have use cases using both Cloud Storage in one project, You might want to try this package.
I’m also using this on production as well.
Installation
pip install cloud-storage
How to use
# For Google Cloud Storage
>>> from cloud_storage import GoogleCloudStorage
>>> storage = GoogleCloudStorage()
# For AWS S3
>>> storage = S3CloudStorageBoto3()
# using factory
>>> from cloud_storage import create_storage_client
>>> gcs_storage = create_storage_client('gcs')
>>> s3_storage = create_storage_client('s3')
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-1.5.2.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for cloud_storage-1.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43cf5b628184110eee4d653a670c4a9989ace5b9bc79028d285149986325f229 |
|
MD5 | bd240d1386211b24ea6b83eb5596528e |
|
BLAKE2b-256 | b7cd606cd67f26b33966b250fabc10eb65aff80a229ad63248c25f38d34848a6 |