Flask Notes

From Federal Burro of Information
Jump to navigationJump to search

This flask http://flask.pocoo.org/docs/0.12/


install python-virtualenv

$ mkdir iothub
$ cd iothub
$ virtualenv venv
New python executable in venv/bin/python
Installing setuptools, pip............done.
$ . venv/bin/activate
$ venv\Scripts\activate

$ deactivate

$ pip install Flask

Sections:

How to Plan an Application User Accounts Writing Tests Database Schemas Database Queries Jinja Templates Code Analysis Python 2 / 3 Compatibility Dependency Management Flask App Factory Pattern Application Configuration Flask Blueprints

Flask Extensions

CLI Scripts

Logging

Debugging

Sending Email

Form Validation / Submissions

AJAX Requests

JSON Responses

Background Workers

Rate Limiting

Docker

Secure Tokens

Custom Admin Dashboard

Pagination

Template Macros

Generating Fake Data

Searching and Sorting Data

Profiling

Middleware

Custom Error Pages

Exception Handling Routing Stripe Integration Microtransactions Recurring Billing Invoicing Coupon Codes Design Patterns Data Modeling Subscription Management Receiving Webhooks Database Migrations Internationalization (i18) Password Reset Workflow Authentication and Authorization CSRF Protection Twitter Bootstrap