/seastar

A FaaS Framework for Digital Ocean Cloud Functions.

Primary LanguagePythonMIT LicenseMIT

seastar

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install seastar

Example

from seastar import web_function
from seastar.requests import Request
from seastar.respones import PlainTextResponse, Response


@web_function(methods=["POST"])
def app(request: Request) -> Response:
    return PlainTextResponse("Hello World!")

License

seastar is distributed under the terms of the MIT license.