Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Asynchronous clients for AWS and Pusher

Project Description

CHANGELOG

Requirements

Botocore

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 cloud.aws 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.

Usage:

from cloud.aws import GreenBotocore
from pulsar.apps.greenio import GreenPool

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

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

S3 uploader

Usage:

s3upload <path> -b bucket/my/location

Pusher

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)
Release History

Release History

This version
History Node

0.5.5

History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5.0

History Node

0.4.4

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.1

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pulsar_cloud-0.5.5-py3-none-any.whl (23.0 kB) Copy SHA256 Checksum SHA256 3.6 Wheel Mar 3, 2017
pulsar-cloud-0.5.5.tar.gz (17.3 kB) Copy SHA256 Checksum SHA256 Source Mar 3, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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