Flask is called a micro-framework; meaning that it only provides the absolute minimum requirements needed to get a web project up and running quickly, without any of the hassles of a more fully involved web framework.
To get a Flask project started...
>>> pip install Flask >>> pip install Flask-Login
- Built in development server and debugger
- Integrated unit testing support
- RESTful request dispatching (bingo!)
- Uses Jinja2 templating
- Support for secure cookies (client side sessions)
- 100% WSGI 1.0 compliant
- Unicode based
- Extensively documented
Web development one drop at at time...
The Most Basic Flask Example:
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, Monty!' if __name__ == '__main__': app.run()
A great example of the simplicity of Flask is a project called Flaskr