Skip to main content

Assist in the handling of files on storages from different providers.

Project description

simple-storage-service

This package is intended to assist in the handling of files on storages from different providers.

Currently, this project supports 3 providers: AWS, Azure and GCP.

Getting started

Install

pip install storage-service

Initialize a storage provider

from simple_storage_service import SimpleStorage

simple_storage = SimpleStorage.initialize('GCP', {'bucket_name': 'some-bucket'})
simple_storage.get_object('some-key')
simple_storage.upload_object('some-key', 'path/to/file.txt')

Colaborating

Run tests

python -m unittest discover tests

Deploy

Change version on setup.py

Remove previous version

rm -rf dist

Build project

python -m build

Upload project

python -m twine upload dist/*

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

simple-storage-service-0.0.5.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_storage_service-0.0.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file simple-storage-service-0.0.5.tar.gz.

File metadata

  • Download URL: simple-storage-service-0.0.5.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.0

File hashes

Hashes for simple-storage-service-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ddc484a18acd4cda16aa68b0ac320f8d69e12b54a8aca6193390aab57f4506b2
MD5 77aaf706ffdb15b64a24212a4baf422f
BLAKE2b-256 1d5740244a24ac27be9957ae4e6d3f24282ee9a920bfa3faaa4a7ae2b86bf544

See more details on using hashes here.

File details

Details for the file simple_storage_service-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: simple_storage_service-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.0

File hashes

Hashes for simple_storage_service-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 420ff541972b7885204ff8244b3c5cc18890396f1c3f3f7ae360c3e37a4e1966
MD5 2c5938439bdc2db44e367b339438beac
BLAKE2b-256 f181244242d88121236b3cef5665716aae0326d75bfcac34296b1e234d48967f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page