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
Built Distribution
Close
Hashes for simple-storage-service-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddc484a18acd4cda16aa68b0ac320f8d69e12b54a8aca6193390aab57f4506b2 |
|
MD5 | 77aaf706ffdb15b64a24212a4baf422f |
|
BLAKE2b-256 | 1d5740244a24ac27be9957ae4e6d3f24282ee9a920bfa3faaa4a7ae2b86bf544 |
Close
Hashes for simple_storage_service-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 420ff541972b7885204ff8244b3c5cc18890396f1c3f3f7ae360c3e37a4e1966 |
|
MD5 | 2c5938439bdc2db44e367b339438beac |
|
BLAKE2b-256 | f181244242d88121236b3cef5665716aae0326d75bfcac34296b1e234d48967f |