Skip to main content

openS3

Documentation Status tests

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openS3-0.1.4.tar.gz (668.9 kB view details)

Uploaded Source

File details

Details for the file openS3-0.1.4.tar.gz.

File metadata

  • Download URL: openS3-0.1.4.tar.gz
  • Upload date:
  • Size: 668.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for openS3-0.1.4.tar.gz
Algorithm Hash digest
SHA256 15340ae1e04ab165d3c6c2b870ebe09233394d0076aa21fcf727c6748b62e53e
MD5 d3937a5c181c6f098b7b193fcc0c8399
BLAKE2b-256 ac3c451437f9136e60d2e1c7beeeb9481f6307443d2a3f4082dc87ad43d3275d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page