Skip to content

richardbischof/openfaas-python3-gdal-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

OpenFaaS Python3 GDAL Template

A Python 3 with GDAL template for spatial operations in OpenFaaS.

Downloading the template

faas template pull https://github.com/richardbischof/openfaas-python3-gdal-template

Using the python3-gdal template

Create a new function

faas new --lang python3-gdal <fn-name>  

Replace example gdal.VersionInfo() with your own logic.

def handle(req):
    return gdal.VersionInfo()

Build, push and deploy

faas up -f <fn-name>.yml

Execute function

echo -n "<your-payload>" | faas invoke <fn-name> -

Links

OpenFaaS

About

A python3 with gdal support template for OpenFaaS functions.

Topics

Resources

Stars

Watchers

Forks