openS3
A Pythonic way to upload and download from AWS S3.
Installation
$ pip install openS3
To install the latest development version:
$ git clone git@github.com:logston/openS3.git $ cd openS3 $ python setup.py install
Usage
>>> from openS3 import OpenS3
>>>
>>> openS3 = OpenS3('my_bucket', '<access_key>', '<secret_key>')
... with openS3('/my/object/key.txt', mode='wb') as fd:
... fd.write('Yeah! Files going up to S3!')
>>>
>>> # Let's create a new OpenS3 object so we know we are not
>>> # just printing saved state attached to the previous OpenS3 object.
>>> openS3 = OpenS3('my_bucket', '<access_key>', '<secret_key>')
... with openS3('/my/object/key.txt') as fd:
... print(fd.read())
b'Yeah! Files going up to S3!'
Bug Tracker
Please report bugs!! Report bugs at openS3’s GitHub repo.
Further Documentation
Further documentation can be found on Read the Docs.
Release files for openS3 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openS3-0.2.0.tar.gz | 688.8 kB | Details |
Release files / openS3-0.2.0.tar.gz
| Download URL | openS3-0.2.0.tar.gz |
|---|---|
| Size | 688.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3253b16954cb466d6e21556120f0b432c760c20e905760a94b9fb325a48fa207
|
|
BLAKE2b-256 checksum How to use checksums |
13755842306c9e9ca80674e06d34326a5f687287fa5a626f4420fa527e22a40f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |