This is a python library for wrapping s3 and wabs blob storage through a common interface.
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.
To test various cloud storages, setup following env variables and make test_cloud
WABS_ACCOUNT_NAMEWABS_CONTAINER_NAMEWABS_SAS_TOKENS3_AWS_KEYS3_AWS_SECRETS3_BUCKET_NAME
- Implement a
download_file_objsimilar toupload_file_objfunction - Configurable
connect_timeoutandread_timeoutfor connections