Skip to content

kallsyms/cloud-agnostic-faas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cloud-agnostic FaaS Wrapper

Wrapper to make functions for simple HTTP request/response functions cloud-agnostic.

Currently supports:

  • AWS Lambda
  • Azure Functions (v2)
  • Google Cloud Functions
  • OpenWhisk (used by IBM cloud functions)

For uniformity, this also implements its own HttpRequest and HttpResponse objects.

The function that is wrapped takes a single argument (of type HttpRequest) and should return a single HttpResponse.

Usage

from proxy import proxy

def func(req):
    ...

main = proxy(func)

About

Cloud-agnostic FaaS wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages