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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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