anatoly-scherbakov / sthree

Typed and pythonic access to Amazon S3 for humans

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typed access to Amazon S3 for humans

Installation

pip install sthree

sthree requires boto3 for its operation, but it is not listed as package dependency because, if you'd want to use sthree in AWS Lambda, you do not need to install boto3 there - since it is already installed.

If you're not using Lambda you may run

pip install sthree[boto]

to make sure all dependencies are satisfied.

Usage Examples

from sthree import Keys
from itertools import islice    

for key in islice(Keys('my-bucket'), 10):
    print(key)

Motivation

Motivation to build this library is to simplify using Amazon S3 in Python applications and to make development experience a bit more pleasant and Pythonic, as well as to benefit from Python's type hinting capabilities.

About

Typed and pythonic access to Amazon S3 for humans


Languages

Language:Python 94.7%Language:Makefile 5.3%