A small package that is used by COMP to read and write model results to S3 like object storage systems.
A small package that is used by COMP to read and write model results to S3 like object storage systems. This means that this package is compatible with DigitalOcean Spaces and AWS S3, since DO Spaces uses the same API as AWS S3.
pip install s3like export OBJ_STORAGE_ACCESS=... export OBJ_STORAGE_SECRET=... export OBJ_STORAGE_ENDPOINT=... export OBJ_STORAGE_EDGE=... export OBJ_STORAGE_BUCKET=...
import s3like # run_model returns data that is compliant with the COMP outputs api. local_result, task_id = run_model(**kwargs) remote_result = s3like.write_to_s3like(task_id, local_result) round_trip = s3like.read_from_s3like(remote_result) assert local_result == round_trip
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size s3like-1.5.0-py3-none-any.whl (4.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size s3like-1.5.0.tar.gz (3.7 kB)||File type Source||Python version None||Upload date||Hashes View|