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')
Release files for cloud-storage 1.6.0
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-1.6.0.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloud_storage-1.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.0 kB
Release files / cloud-storage-1.6.0.tar.gz
| Download URL | cloud-storage-1.6.0.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa7eb3696620b26c0321504b3a7bdb7b3b4e467ed0e8d2a3bc0b622c37ecb265
|
|
BLAKE2b-256 checksum How to use checksums |
1793224e5047f06c47c8f2f289abc5ba5cb9529a8fb016c8b740811b99120192
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Release files / cloud_storage-1.6.0-py3-none-any.whl
| Download URL | cloud_storage-1.6.0-py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c7fec8d5e3cfb03992ddbfb7fdf2db525f73bf26c9d3eaf9b62a3e7e03687f4
|
|
BLAKE2b-256 checksum How to use checksums |
4f53df0f87560370766e532cb92712c7f3d793012e9524e22615b3520ab7c25a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|