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.

Source Distribution

cloud-storage-1.6.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

cloud_storage-1.6.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file cloud-storage-1.6.0.tar.gz.

File metadata

  • Download URL: cloud-storage-1.6.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for cloud-storage-1.6.0.tar.gz
Algorithm Hash digest
SHA256 aa7eb3696620b26c0321504b3a7bdb7b3b4e467ed0e8d2a3bc0b622c37ecb265
MD5 d464cae65a28040c4b37410b29d94dbd
BLAKE2b-256 1793224e5047f06c47c8f2f289abc5ba5cb9529a8fb016c8b740811b99120192

See more details on using hashes here.

File details

Details for the file cloud_storage-1.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cloud_storage-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c7fec8d5e3cfb03992ddbfb7fdf2db525f73bf26c9d3eaf9b62a3e7e03687f4
MD5 d80c5a575c4eebc437ad8d6f4997df35
BLAKE2b-256 4f53df0f87560370766e532cb92712c7f3d793012e9524e22615b3520ab7c25a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page