Project

s3mpi

0.01
No commit activity in last 3 years
No release in over 3 years
Passing objects between Ruby consoles can be cumbersome if the user has performed some serialization and deserialization procedure. S3MPI aims to enable simple reading and writing to S3 buckets without the typical overhead of the AWS gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.10.4
~> 10.1.0
~> 3.4

Runtime

 Project Readme

S3 uploads of Ruby objects Build Status

Upload and download Ruby objects to S3 using a very convenient API. This is incredibly handy for passing objects around between consoles when, e.g., collaborating or debugging.

Usage

To set up an S3 interface, one can run

MPI = S3MPI::Interface.new("bucket", "path/in/bucket")
# Or a constant name of your choosing...

Then, assuming our credentials are set up correctly, we can store and read Ruby objects:

MPI.store({ some: "ruby", object: 5 }, "some_object")
MPI.read('some_object')