Python Flask: Web apps in seconds

Flask is a python microframework that makes creating web apps easy. It reminds me a lot of AngularJS, but I find it easier to set up and use. Their site is a great live demo http://flask.pocoo.org/. Create a frontend using this, deploy with docker, app engine, beanstalk, etc... and you have a scalable app that can be used anywhere.


Excerpt from their site:

Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It's BSD licensed!
Latest Version: 0.12.2

Flask is Fun

from flask import Flask
app = Flask(__name__)

@app.route("/")
def hello():
    return "Hello World!"

And Easy to Setup

$ pip install Flask
$ FLASK_APP=hello.py flask run
 * Running on http://localhost:5000/

Comments

Popular posts from this blog

pfSense DHCP: Dynamic DNS Updates to a Windows DNS server over a Site-to-Site VPN.

Setting up DNS over HTTPS using cloudflared