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.lib 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.lib 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.lib 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.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: safehaven-0.1.2.tar.gz
  • Upload date:
  • Size: 2.0 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.2.tar.gz
Algorithm Hash digest
SHA256 34b576844fedfb145dcbef9e3079a16d079ca9507fe5703d7f19fa947eb0737f
MD5 8171b6e641de0a8dd8e2a9340e24ebb0
BLAKE2b-256 ee396ecdecdb9e8c37b758f20cb173d48d13200f7ee6ad843ce616d385b3c612

See more details on using hashes here.

File details

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

File metadata

  • Download URL: safehaven-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b6d0a2d2f4d3551cac52873d71ec3eea12c84893564494c342d0c5b583b00d1
MD5 bdb0f184247c743c76fc41722c29fbe7
BLAKE2b-256 ad23ef7d4fbc083f80952eefbb93ca589233b29180d84e3e0b6de560efdb9b49

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