Skip to main content

Library to list, upload and download objects from AWS S3, Azure Blob Storage, and GCP Storage.

Project description

![https://www.gnu.org/licenses/gpl-3.0](https://img.shields.io/badge/License-GPL%20v3-blue.svg “GPL-3.0”) # safehaven

## Description This library allows users to list, upload and download objects to and from the following cloud providers:

  • Amazon Web Services (AWS S3)

  • Microsoft Azure (Blob Store)

  • Google Cloud Platform (GCP Storage)

## Usage ### Installation ` pip install safehaven `

### AWS ` from safehaven import Aws s3 = Aws() s3.create_client('s3-shared-object-store-test', 'file_names', 'region', 'aws_access_key_id', 'aws_secret_access_key') s3.list_objects() s3.upload_objects() s3.download_objects() `

### Azure ` from safehaven import Azure blob = Azure() blob.create_client('container_name', 'file_names', 'connection_string') blob.list_objects() blob.upload_objects() blob.download_objects() `

### GCP ` from safehaven import Gcp gcp = Gcp() gcp.create_client('project_name' 'storage_bucket_name', 'location_and_name_of_files', 'key_file') gcp.list_objects() gcp.upload_objects() gcp.download_objects() `

### Testing this library ` pip install moto `

## Links * Code: https://github.com/tzankov/safehaven * Releases on Pypi: https://pypi.org/project/safehaven

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

safehaven-0.1.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

safehaven-0.1.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file safehaven-0.1.1.tar.gz.

File metadata

  • Download URL: safehaven-0.1.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for safehaven-0.1.1.tar.gz
Algorithm Hash digest
SHA256 70572cdbce7335adfa07609c6ebd9b62fd6b4e29b28744f947b055b39d9371ee
MD5 ee87b0e8f56c20c03059a185b8ed856f
BLAKE2b-256 5fac2ccd1be3f67741977d894f7df95bff5b77aed18b37f5b8abbde7e24b0e54

See more details on using hashes here.

File details

Details for the file safehaven-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: safehaven-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for safehaven-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80351a41436a702a66a4895a545486dfb9fcd8c412bcc15b9879fae05fb1bf34
MD5 98d4fac930139f6e011222a292ceb0fd
BLAKE2b-256 b5e4375f6e197a2afce97d2a3282d7b894bf1aec310401b5922843ca577a59bc

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