Personal tools
Skip to content. | Skip to navigation
Flask + marshmallow for beautiful APIs Flask-Marshmallow is a thin integration layer for Flask (a Python web framework) and marshmallow (an object serialization/deserialization library) that adds additional features to marshmallow, including URL and Hyperlinks fields for HATEOAS-ready APIs. It also (optionally) integrates with Flask-SQLAlchemy. Get it now pip install flask-marshmallow Create your app. from flask import Flask from flask_marshmallow import Marshmallow app = Flask(__name__) ma = Marshmallow(app) Write your models. from your_orm import Model, Column, Integer, String, DateTime class User(Model): email = Column(String) password = Column(String) date_created = Column(DateTime, auto_now_add=True) Define your output format with marshmallow. class UserSchema(ma.Schema): class Meta: fields = ("email", "date_created", "_links") _links = ma.Hyperlinks( { "self": ma.URLFor("user_
Flask-MongoEngine A Flask extension that provides integration with MongoEngine < For more information on MongoEngine please check out the MongoEngine Documentation < handles connection management for your app. You can also use WTForms < as model forms for your models.Pre-requisite Make sure you have wheel installed:: pip install wheelInstalling Flask-MongoEngine Install with **pip**:: pip...
Flask-Multipass Flask-Multipass provides Flask with a user authentication/identity system which can use different backends (such as local users, LDAP and OAuth) simultaneously.It was developed at CERN and is currently used in production by Indico <
Flask-OAuthlib .. image::
Flask-PluginEngine A simple plugin system for Flask applications. More detailed documentation available at
> This Software is in **Beta Version**, Please place an issue or contact me if you found a Bug ! Flask-Roleman**flask-roleman** is a flask extension for User Authorizations, Users can have Groups, and Each Group can have Roles, you can define your Groups Model and Roles Model, as well as Users Model. About- **Dependencies**: flask flask-login, flask-sqlalchemy - **License**: Open Source Under...
Webpack integration for Flask. Flask-WebpackExt makes it easy to interface with your existing Webpack project from Flask and does not try to manage Webpack for you. Flask-WebpackExt does this via: Manifests: You tell Webpack to write a manifest.json using plugins such as webpack-manifest-plugin, webpack-yam-plugin or webpack-bundle-tracker. Flask-WebpackExt reads the manifest and makes your compiled assets available in your Jinja templates. CLI for NPM: Flask-WebpackExt provides a Flask CLI so that e.g. flask webpack install will run npm install in your Webpack project. Similarly, flask webpack build will run npm run build. Optionally you can use Flask-WebpackExt to also: Inject configuration: Flask-WebpackExt will write a config.json into your Webpack project, which you can import in your Webpack configuration. You define what goes in the config e.g. Let Webpack know about output paths or dynamic entry points. Collect bundles: If your Webpack project is spread over multiple Python