Skip to main content

Google Cloud Functions support for ASGI

Project description

grevillea

Work in Progress

Google Cloud Functions support for ASGI

Requirements

Python 3.7

Installation

pip3 install grevillea

Example

from grevillea import Grevillea

async def app(scope, receive, send):
    await send(
        {
            "type": "http.response.start",
            "status": 200,
            "headers": [[b"content-type", b"text/plain; charset=utf-8"]],
        }
    )
    await send({"type": "http.response.body", "body": b"Hello, world!"})


handler = Grevillea(app)

Project details


Release history Release notifications

Download files

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

Files for grevillea, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size grevillea-0.0.1.tar.gz (2.5 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