Skip to main content

Spongeblob: A wrapper library for various cloud storage

Project description

Spongeblob

Overview

This is a python library for wrapping s3 and wabs blob storage through a common interface.

Testing

Local Testing

The project is configured to be tested with local docker environment by default, which requires docker installed on the system. On MacOS, docker can be installed with brew cask install docker, which installs Docker for Mac and docker-compose utility required for testing. Local tests then can be performed with make test which setups a tox environment with required pytest plugins and fetches required docker images from docker-hub.

Cloud testing

To test various cloud storages, setup following env variables and make test_cloud

  • WABS_ACCOUNT_NAME
  • WABS_CONTAINER_NAME
  • WABS_SAS_TOKEN
  • S3_AWS_KEY
  • S3_AWS_SECRET
  • S3_BUCKET_NAME

Todo

  • Implement a download_file_obj similar to upload_file_obj function
  • Configurable connect_timeout and read_timeout for connections

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

spongeblob-0.1.1.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distributions

spongeblob-0.1.1-py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 3

spongeblob-0.1.1-py2-none-any.whl (10.2 kB view hashes)

Uploaded Python 2

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