This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

The \(aio-s3\) is a small library for accessing Amazon S3 Service that leverages python’s standard \(asyncio\) library.

Only read operations are supported so far, contributions are welcome.


Basically all methods supported so far are shown in this example:

import asyncio

from aios3.bucket import Bucket

def main():
    bucket = Bucket('uaprom-logs',
    # List keys based on prefix
    lst = yield from bu.list('some-prefix')
    response = yield from bu.get(lst[0])
    response = yield from[0])
    print("GOT Response", dir(response))
    while 1:
        chunk = yield from
        print("Received", len(chunk))
        if not chunk:



Bucket(name, *, aws_key, aws_secret, aws_region, aws_endpoint, connector):
Creates a wrapper object for accessing S3 bucket. Note unlike in many other bindings you need to specify aws_region (and probably aws_endpoint) correctly (see a table). The connector is an aiohttp connector, which might be used to setup proxy or other useful things.
Bucket.list(prefix='', max_keys=1000):

Lists items which start with prefix. Each returned item is a Key object. This method is coroutine.


This method raises assertion error if there are more keys than max_keys. We do not have a method to return keys iteratively yet.

Fetches object names key. The key might be a string or Key object. Returns bytes. This method is coroutine.
Allows iteratively download the key. The object returned by the coroutine is an object having method .read(bufsize) which is a coroutine too.

Represents an S3 key returned by Bucket.list. Key has at least the following attributes:

  • key – the full name of the key stored in a bucket
  • last_modifieddatetime.datetime object
  • etag – The ETag, usually md5 of the content with additional quotes
  • size – Size of the object in bytes
  • storage_class – Storage class of the object
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
aio-s3-0.1.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source Sep 17, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting