Skip to main content

Asynchronous clients for AWS and Pusher

Project description

Badges:license pyversions status pypiversion
Master CI:master-build coverage-master
Mailing list:google user group
Design by:Quantmind and Luca Sbardella
Platforms:Linux, OSX, Windows. Python 3.5 and above
Keywords:amazon, aws, botocore, pusher, websocket, async, pulsar, greenlet




This library provides two asynchronous implementations of botocore.

Some part of the module are taken from aiobotocore - apache LICENSE.

Asyncio Botocore

The first implementation uses asyncio from the python standard libray only and requires an asyncio compatible HTTP client such as the pulsar one (used by default):

from import AsyncioBotocore

s3 = AsyncioBotocore('s3', 'us-east-1')
s3 = await s3.put_object(...)

Green Botocore

The second implementation, build on top of asyncio botocore, uses pulsar and greenlet to obtain an implicit asynchronous behaviour.


from import GreenBotocore
from pulsar.apps.greenio import GreenPool

def execute():
    s3 = GreenBotocore('s3', 'us-east-1')

pool = GreenPool()
await pool.submit(execute)

S3 uploader


s3upload <path> -b bucket/my/location


A client and server pusher implementation using pulsar asynchronous framework. Create a pusher instance

from cloud import Pusher

pusher = Pusher(app_id, key, secret)

Subscribe to a channel as a client

channel = await pusher.subscribe('test_channel')
channel.bind('event', mycallback)

Project details

Download files

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

Files for pulsar-cloud, version 0.5.5
Filename, size File type Python version Upload date Hashes
Filename, size pulsar_cloud-0.5.5-py3-none-any.whl (23.0 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size pulsar-cloud-0.5.5.tar.gz (17.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page