Skip to content
A Bhat edited this page Oct 12, 2020 · 2 revisions

About

  • A micro web framework
  • Written in Python

Microframework

Default features

  • No database abstraction layer, or any other components where pre-existing third-party libraries provide common functions

Extensions

  • Supports extensions that can add application features as if they were implemented in Flask itself
  • Extensions exist for object-relational mappers, form validation, upload handling, various open authentication technologies and several common framework related tools

Usage

  • Include Pinterest and LinkedIn

Example

from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, World!'

if __name__ == '__main__':
    app.run()

See also

Clone this wiki locally