Skip to content
This repository has been archived by the owner on Mar 15, 2019. It is now read-only.

wirelineio/python-flask-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

python-flask-template

Python OpenFaaS template with Flask

To try this out with either Python 2.7 or Python 3.6:

faas template pull https://github.com/openfaas-incubator/python-flask-template
faas new --list
Languages available as templates:
- python27-flask
- python3-flask

Generate a function with one of the languages:

faas new --lang python3-flask myfunction
mv myfunction.yml stack.yml

Followed by the usual flow:

faas build \
  && faas deploy
  && faas list --verbose

# Wait a couple of seconds then:

echo -n content | faas invoke myfunction

About

OpenFaaS templates for Python 2.7/3.6 with Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 55.2%
  • Python 44.8%