Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

tornado-aws

A low-level Amazon Web Services API client for Tornado

Version Status Coverage License

Installation

tornado-aws may be installed via the Python package index with the tool of your choice. I prefer pip:

pip install tornado-aws

Example

import json
import pprint

import tornado_aws
from tornado import gen, ioloop

HEADERS = {'Content-Type': 'application/x-amz-json-1.0',
           'x-amz-target': 'DynamoDB_20120810.DescribeTable'}
PAYLOAD = {'TableName': 'my-dynamodb-table'}

_ioloop = ioloop.IOLoop.instance()

@gen.coroutine
def async_request():
    client = tornado_aws.AsyncAWSClient('dynamodb')
    response = yield client.fetch('POST', '/', headers=HEADERS,
                                  body=json.dumps(PAYLOAD))
    x = json.loads(response.body.decode('utf-8'))
    pprint.pprint(x)
    _ioloop.stop()

_ioloop.add_callback(async_request)
_ioloop.start()

Documentation

Documentation is available on ReadTheDocs.

Requirements

Version History

Available at https://tornado-aws.readthedocs.org/en/latest/history.html

Release files for tornado-aws 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tornado-aws 2.0.0
File Size Uploaded
tornado-aws-2.0.0.tar.gz 14.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tornado-aws 2.0.0
File Interpreter ABI Platform
tornado_aws-2.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 29.0 kB

Release files / tornado-aws-2.0.0.tar.gz

Download URL tornado-aws-2.0.0.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8841360b166bfb626a1a053f71a3260a281aa43b2e9fa6d08fe4663b8aef4faa
BLAKE2b-256 checksum
How to use checksums
3f81ac5da87152f3c70aca8aa2a047e7ea5785b38f1e806a7cc53c6d4ead92dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

Release files / tornado_aws-2.0.0-py2.py3-none-any.whl

Download URL tornado_aws-2.0.0-py2.py3-none-any.whl
Size 14.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
deb363d6798a7e3bb4574ab572d178b6195949cf0cb69f28cdf92b13b14df553
BLAKE2b-256 checksum
How to use checksums
b6093546f614236c56271fa77afa9ca41c536bdb283af1bd15f7a598d01b462a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page