Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Thumbor Loader and Result Storage for Google Cloud Storage

License

Notifications You must be signed in to change notification settings

cbsi-cmg/thumbor-cloud-storage

 
 

Repository files navigation

Thumbor Cloud Storage

Installation

pip install thumbor-cloud-storage

Authentication

Authentication is handled by the Google Cloud SDK, see gcloud documentation.

Contribution

TODO

Features

  • thumbor_cloud_storage.loaders.cloud_storage_loader - takes a bucket object path and downloads the file through the gcloud S3-compatible API.
  • thumbor_cloud_storage.result_storages.cloud_storage

Configuration

Loader settings

When using thumbor_cloud_storage.loaders.cloud_storage_loader:

LOADER = 'thumbor_cloud_storage.loaders.cloud_storage_loader'
CLOUD_STORAGE_BUCKET_ID = ''
CLOUD_STORAGE_PROJECT_ID = ''

Result storage settings

When thumbor_cloud_storage.result_storages.cloud_storage is enabled:

RESULT_STORAGE = 'thumbor_cloud_storage.result_storages.cloud_storage'
RESULT_STORAGE_CLOUD_STORAGE_PROJECT_ID = ''
RESULT_STORAGE_CLOUD_STORAGE_BUCKET_ID = ''

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%