Skip to content

wgwz/flask-for-fun-and-profit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flask for Fun and Profit

Based on the PyBay 2016 talk by Armin Ronacher. Here are the slides. Here is the talk.

Install from root directory (in a virtualenv) with:

pip install -e .

Run the application with:

export FLASK_APP=myapp._devapp
export FLASK_DEBUG=1
flask run

Interaction with the API using httpie (pip install httpie):

http ":5000/v1.0/sum?a=1&b=2"
http :5000/v1.0/difference a:=1 b:=2

Coming soon:

  • add pagination example
  • add in flask-sqla
    • context for improved security example
  • testing

About

Based on the PyBay 2016 talk by Armin Ronacher. https://youtu.be/1ByQhAM5c1I

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages