Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

jordaneremieff/grevillea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grevillea

THIS PROJECT IS CURRENTLY UNMAINTAINED

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)

About

Google Cloud Functions support for ASGI

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published