Skip to main content

Restful framework with Tornado

Project description

GitHub: aiopyrestful

This is a Specialized version of pyrestful


pyRestful is an API to develop restful services with Tornado Web Server.

We made changes from the last version to improve it and make it more easy.

The last version works with Python 2 and 3.


Support asyncio.


pip install aiopyrestful


import asyncio

from import get, mediatypes

async def async_fun():
    await asyncio.sleep(10)
    return 'text'

@get(_path='/configure', _produces=mediatypes.APPLICATION_JSON)
async def post_configure(self):
    text = await async_fun()
    return {
        'text': text

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 aiopyrestful, version 1.4.0
Filename, size File type Python version Upload date Hashes
Filename, size aiopyrestful-1.4.0.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View
Filename, size aiopyrestful-1.4.0-py3-none-any.whl (7.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page