Skip to main content
Badges:

license pyversions status pypiversion

Master CI:

master-build coverage-master

Downloads:

http://pypi.python.org/pypi/pulsar-cloud

Source:

https://github.com/quantmind/pulsar-cloud

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

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)

Download files

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

Source Distribution

pulsar-cloud-0.5.5.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulsar_cloud-0.5.5-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file pulsar-cloud-0.5.5.tar.gz.

File metadata

  • Download URL: pulsar-cloud-0.5.5.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pulsar-cloud-0.5.5.tar.gz
Algorithm Hash digest
SHA256 628dcdbcbdb919b8af12311234e9703d04244fc7119539fd12bf1071c550d930
MD5 56755ac668d6da8b2c1d5be9ce058ec5
BLAKE2b-256 63a9cf3bf31c1b205f4b8893d6b0e7eb29a944e540db4165c5eff27bef6b5bbc

See more details on using hashes here.

File details

Details for the file pulsar_cloud-0.5.5-py3-none-any.whl.

File metadata

File hashes

Hashes for pulsar_cloud-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e95fa4f71fbde0f4ef322e0de0c6bcdbb7f298de09ce056cb44cdaa85a8f036f
MD5 716ad61f7a369fc1ef26280b69d5b2db
BLAKE2b-256 2b5ed1a0e70695599ef65db09ddf8ace1d11b05a07420cfa58a12119ca4fa368

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.5 This release

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.4

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.1

1 file

0.2.0

1 file

0.1.0

1 file

Supported by

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