Skip to main content

Interface of S3 and Google Storgae

Project description

https://img.shields.io/badge/License-GPL%20v3-blue.svg https://badge.fury.io/py/cloud-storage.svg https://img.shields.io/travis/Gatsby-Lee/cloud-storage.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cloud-storage, version 1.5.2
Filename, size File type Python version Upload date Hashes
Filename, size cloud_storage-1.5.2-py3-none-any.whl (21.1 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size cloud-storage-1.5.2.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page