Files
awesome-awesomeness/html/flask.html
2024-04-20 19:22:54 +02:00

483 lines
20 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<h1 id="awesome-flask-awesome">Awesome Flask <a
href="https://github.com/sindresorhus/awesome"><img
src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg"
alt="Awesome" /></a></h1>
<blockquote>
<p>A curated list of awesome Flask resources and plugins</p>
</blockquote>
<ul>
<li><a href="#awesome-flask">Awesome Flask</a>
<ul>
<li><a href="#framework">Framework</a></li>
<li><a href="#admin-interface">Admin interface</a></li>
<li><a href="#analytics">Analytics</a></li>
<li><a href="#authentication">Authentication</a></li>
<li><a href="#authorization">Authorization</a></li>
<li><a href="#database">Database</a></li>
<li><a href="#database-migrations">Database Migrations</a></li>
<li><a href="#session">Session</a></li>
<li><a href="#cache">Cache</a></li>
<li><a href="#data-validation">Data Validation</a></li>
<li><a href="#email">Email</a></li>
<li><a href="#i18n">i18n</a></li>
<li><a href="#full-text-searching">Full-text searching</a></li>
<li><a href="#rate-limiting">Rate Limiting</a></li>
<li><a href="#task-queue">Task Queue</a></li>
<li><a href="#exception-tracking">Exception tracking</a></li>
<li><a href="#tracing">Tracing</a></li>
<li><a href="#apm">APM</a></li>
<li><a href="#other-sdk">Other SDK</a></li>
<li><a href="#frontend">Frontend</a></li>
<li><a href="#development-debuggingtestingdocumentation">Development
(Debugging/Testing/Documentation)</a></li>
<li><a href="#utils">Utils</a></li>
</ul></li>
<li><a href="#resources">Resources</a>
<ul>
<li><a href="#tutorials">Tutorials</a></li>
<li><a href="#courses">Courses</a></li>
<li><a href="#books">Books</a></li>
<li><a href="#slides">Slides</a></li>
<li><a href="#videos">Videos</a></li>
<li><a href="#built-with-flask">Built with Flask</a></li>
<li><a href="#boilerplate">Boilerplate</a></li>
</ul></li>
</ul>
<h2 id="framework">Framework</h2>
<ul>
<li><a href="https://github.com/zalando/connexion">Connexion</a> -
Swagger/OpenAPI First framework for Python on top of Flask with
automatic endpoint validation and OAuth2 support</li>
<li><a
href="https://github.com/closeio/flask-mongorest">Flask-MongoRest</a> -
Restful API framework wrapped around MongoEngine</li>
<li><a href="https://github.com/pyeve/eve">Eve</a> - REST API framework
powered by Flask, MongoDB and good intentions</li>
<li><a
href="https://github.com/jfinkels/flask-restless">Flask-Restless</a> - A
Flask extension for creating simple ReSTful APIs from SQLAlchemy
models</li>
<li><a
href="https://github.com/flask-restful/flask-restful">Flask-RESTful</a>
- Simple framework for creating REST APIs</li>
<li><a
href="https://github.com/noirbizarre/flask-restplus">Flask-RestPlus</a>
- syntaxic sugar, helpers and automatically generated Swagger
documentation.</li>
<li><a href="https://github.com/biosustain/potion">Flask-Potion</a> -
RESTful API framework for Flask and SQLAlchemy</li>
<li><a href="https://github.com/Miserlou/Zappa">Zappa</a> - Build and
deploy server-less Flask applications on AWS Lambda and API Gateway</li>
</ul>
<h2 id="admin-interface">Admin interface</h2>
<ul>
<li><a href="https://github.com/flask-admin/flask-admin">Flask-Admin</a>
- Simple and extensible administrative interface framework for
Flask</li>
</ul>
<h2 id="analytics">Analytics</h2>
<ul>
<li><a
href="https://github.com/citruspi/Flask-Analytics">Flask-Analytics</a> -
Analytics snippets generator extension for the Flask framework</li>
<li><a href="https://github.com/Lanseuo/flask-matomo">Flask-Matomo</a> -
Track requests to your Flask website with Matomo</li>
</ul>
<h2 id="authentication">Authentication</h2>
<ul>
<li><a
href="https://github.com/mattupstate/flask-security">Flask-Security</a>
- Quick and simple security for Flask applications</li>
<li><a
href="https://github.com/maxcountryman/flask-login">Flask-Login</a> -
Flask user session management</li>
<li><a href="https://github.com/lingthio/Flask-User">Flask-User</a> -
Customizable user account management for Flask</li>
<li><a
href="https://github.com/miguelgrinberg/Flask-HTTPAuth">Flask-HTTPAuth</a>
- Simple extension that provides Basic and Digest HTTP authentication
for Flask routes</li>
<li><a
href="https://github.com/dusktreader/flask-praetorian">Flask-Praetorian</a>
- Strong, Simple, and Precise security for Flask APIs (using jwt)</li>
</ul>
<h2 id="authorization">Authorization</h2>
<ul>
<li><a href="https://github.com/lepture/authlib">Authlib</a> - Authlib
is an ambitious authentication library for OAuth 1, OAuth 2, OpenID
clients, servers and more.</li>
<li><a href="https://github.com/authomatic/authomatic">Authomatic</a> -
Authomatic provides out of the box support for a number of providers
using OAuth 1.0a (Twitter, Tumblr and more) and OAuth 2.0 (Facebook,
Foursquare, GitHub, Google, LinkedIn, PayPal and more)</li>
<li><a href="https://github.com/anurag90x/flask-pundit">Flask-Pundit</a>
- Extension based on Rails <a
href="https://github.com/varvet/pundit">Pundit</a> gem that provides
easy way to organize access control for your models</li>
<li><a
href="https://github.com/singingwolfboy/flask-dance">Flask-Dance</a> -
OAuth consumer extension for Flask, shipped with pre-set support for
Facebook, GitHub, Google, etc.</li>
</ul>
<h2 id="database">Database</h2>
<ul>
<li><a
href="https://github.com/MongoEngine/flask-mongoengine">Flask-MongoEngine</a>
- MongoEngine flask extension with WTF model forms support</li>
<li><a
href="https://github.com/mitsuhiko/flask-sqlalchemy">Flask-SQLAlchemy</a>
- Adds SQLAlchemy support to Flask</li>
</ul>
<h2 id="database-migrations">Database Migrations</h2>
<ul>
<li><a
href="https://github.com/miguelgrinberg/Flask-Migrate">Flask-Migrate</a>
- SQLAlchemy database migrations for Flask applications using
Alembic</li>
</ul>
<h2 id="session">Session</h2>
<ul>
<li><a href="https://github.com/fengsp/flask-session">Flask-Session</a>
- Server side session extension for Flask</li>
</ul>
<h2 id="cache">Cache</h2>
<ul>
<li><a href="https://github.com/sh4nks/flask-caching">Flask-Caching</a>
- Adds easy cache support to Flask</li>
<li><a
href="https://github.com/rdegges/flask-heroku-cacheify">flask-heroku-cacheify</a>
- Automatic Flask cache configuration on Heroku</li>
</ul>
<h2 id="data-validation">Data Validation</h2>
<ul>
<li><a href="https://github.com/lepture/flask-wtf">Flask-WTF</a> -
Simple integration of Flask and WTForms, including CSRF, file upload and
Recaptcha integration.</li>
</ul>
<h2 id="email">Email</h2>
<ul>
<li><a href="https://github.com/mattupstate/flask-mail/">Flask-Mail</a>
- Flask-Mail adds SMTP mail sending to your Flask applications</li>
</ul>
<h2 id="i18n">i18n</h2>
<ul>
<li><a
href="https://github.com/python-babel/flask-babel">flask-babel</a> -
i18n and l10n support for Flask based on Babel and pytz</li>
</ul>
<h2 id="full-text-searching">Full-text searching</h2>
<ul>
<li><a
href="https://github.com/kvesteri/sqlalchemy-searchable">SQLAlchemy-Searchable</a>
- Full-text searching for Flask-SQLAlchemy (Postgres only)</li>
<li><a
href="https://github.com/honmaple/flask-msearch">flask_msearch</a> -
Full text search for flask with whoosh</li>
</ul>
<h2 id="rate-limiting">Rate Limiting</h2>
<ul>
<li><a
href="https://github.com/alisaifee/flask-limiter">Flask-Limiter</a> -
Flask-Limiter provides rate limiting features to flask routes</li>
</ul>
<h2 id="task-queue">Task Queue</h2>
<ul>
<li><a href="https://flask-dramatiq.rtfd.io/">Flask-Dramatiq</a> - <a
href="https://github.com/Bogdanp/dramatiq">dramatiq</a> integration for
Flask applications.</li>
<li><a href="https://github.com/coleifer/huey">huey</a> - a little task
queue for python</li>
<li><a href="https://github.com/mattupstate/flask-rq">Flask-RQ</a> - RQ
(Redis Queue) integration for Flask applications</li>
<li><a href="https://github.com/celery/celery/">celery</a> - Distributed
Task Queue</li>
</ul>
<h2 id="exception-tracking">Exception tracking</h2>
<ul>
<li><a href="https://github.com/getsentry/sentry-python">sentry-sdk</a>
- Python client for <a
href="https://sentry.io/welcome/">Sentry</a>.</li>
<li><a
href="https://github.com/airbrake/airbrake-python">airbrake-python</a> -
Python client for <a href="https://airbrake.io/">Airbrake</a></li>
</ul>
<h2 id="tracing">Tracing</h2>
<ul>
<li><a href="https://github.com/qiajigou/flask-zipkin">flask-zipkin</a>
- Distributed tracing with <a href="https://zipkin.io/">Zipkin</a>.</li>
<li><a
href="https://github.com/opentracing-contrib/python-flask">Flask-OpenTracing</a>
- Distributed tracing with <a
href="http://opentracing.io/">OpenTracing</a>.</li>
</ul>
<h2 id="apm">APM</h2>
<ul>
<li><a
href="https://github.com/elastic/apm-agent-python">elastic-apm</a> -
Elastic APM agent for Python</li>
</ul>
<h2 id="other-sdk">Other SDK</h2>
<ul>
<li><a
href="https://github.com/rochacbruno/Flask-GoogleMaps">Flask-GoogleMaps</a>
- Build and embed google maps in our Flask templates</li>
<li><a
href="https://github.com/zzzsochi/Flask-Gravatar">Flask-Gravatar</a> -
Small and simple gravatar usage in Flask</li>
<li><a
href="https://github.com/iurisilvio/Flask-Pusher">Flask-Pusher</a> -
Pusher integration for Flask</li>
<li><a
href="https://github.com/alejoar/Flask-Azure-Storage">Flask-Azure-Storage</a>
- Flask extension that provides integration with Azure Storage</li>
</ul>
<h2 id="frontend">Frontend</h2>
<ul>
<li><a href="https://github.com/corydolphin/flask-cors">Flask-CORS</a> -
A Flask extension for handling Cross Origin Resource Sharing (CORS),
making cross-origin AJAX possible</li>
<li><a href="https://github.com/miracle2k/flask-assets">flask-assets</a>
- Flask webassets integration</li>
<li><a href="https://github.com/e-dard/flask-s3">flask-s3</a> -
Seamlessly serve your static assets of your Flask app from Amazon
S3</li>
<li><a
href="https://github.com/kennethreitz/flask-sslify">Flask-SSLify</a> -
Force SSL on your Flask app</li>
<li><a
href="https://github.com/hamidfzm/Flask-HTMLmin">Flask-HTMLmin</a> -
Flask html minifier</li>
</ul>
<h2 id="development-debuggingtestingdocumentation">Development
(Debugging/Testing/Documentation)</h2>
<ul>
<li><a href="https://github.com/rochacbruno/flasgger">Flasgger</a> -
Create API documentation for Flask views using Swagger 2.0 specs</li>
<li><a href="https://github.com/jmcarp/flask-apispec">flask-apispec</a>
- simple self-documenting APIs with flask</li>
<li><a
href="https://github.com/numberly/flask2postman">flask2postman</a> -
Generate a Postman collection from your Flask application</li>
<li><a
href="https://github.com/muatik/flask-profiler">flask_profiler</a> -
endpoint analyzer/profiler for Flask</li>
<li><a
href="https://github.com/mgood/flask-debugtoolbar">Flask-DebugToolbar</a>
- A port of the django debug toolbar to flask</li>
<li><a
href="https://github.com/cenkalti/flask-debug-toolbar-mongo">flask-debug-toolbar-mongo</a>
- MongoDB panel for the Flask Debug Toolbar</li>
<li><a href="https://github.com/jarus/flask-testing">Flask-Testing</a> -
Unittest extensions for Flask</li>
<li><a
href="https://github.com/pytest-dev/pytest-flask">pytest-flask</a> - A
set of pytest fixtures to test Flask applications</li>
<li><a
href="https://github.com/flask-dashboard/Flask-MonitoringDashboard">Flask-MonitoringDashboard</a>
- Automatically monitor the evolving performance of Flask/Python web
services.</li>
<li><a
href="https://github.com/jmcarp/nplusone#flask-sqlalchemy">nplusone</a>
- Auto-detect n+1 queries with Flask and SQLAlchemy</li>
<li><a href="https://github.com/zalando/connexion">connexion</a> -
Swagger/OpenAPI First framework for Python on top of Flask with
automatic endpoint validation &amp; OAuth2 support.</li>
</ul>
<h2 id="utils">Utils</h2>
<ul>
<li><a
href="https://github.com/marshmallow-code/flask-marshmallow">flask-marshmallow</a>
Flask + marshmallow for beautiful APIs</li>
<li><a
href="https://github.com/cenobites/flask-jsonrpc">flask-jsonrpc</a> - A
basic JSON-RPC implementation for your Flask-powered sites</li>
<li><a
href="https://github.com/maxcountryman/flask-bcrypt">Flask-Bcrypt</a> -
Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities
for your application</li>
<li><a href="https://github.com/klen/mixer">Mixer</a> - Mixer is
application to generate instances of Django or SQLAlchemy models</li>
<li><a
href="https://github.com/trustrachel/Flask-FeatureFlags">Flask-FeatureFlags</a>
- A Flask extension that enables or disables features based on
configuration</li>
<li><a
href="https://github.com/rhyselsmore/flask-reggie">Flask-Reggie</a> -
Regex Converter for Flask URL Routes</li>
<li><a
href="https://github.com/miguelgrinberg/Flask-SocketIO">Flask-SocketIO</a>
- Socket.IO integration for Flask applications</li>
<li><a
href="https://github.com/miguelgrinberg/Flask-Moment">Flask-Moment</a> -
Formatting of dates and times in Flask templates using moment.js</li>
<li><a href="https://github.com/lixxu/flask-paginate">Flask-Paginate</a>
- Pagination support for Flask</li>
<li><a
href="https://github.com/graphql-python/flask-graphql">Flask-graphql</a>
- Adds GraphQL support to your Flask application</li>
</ul>
<h1 id="resources">Resources</h1>
<h2 id="tutorials">Tutorials</h2>
<ul>
<li><a
href="http://blog.apps.npr.org/2013/02/14/app-template-redux.html">How
to build a news app that never goes down and costs you practically
nothing</a> (by NPR)</li>
<li><a
href="http://maximebf.com/blog/2012/10/building-websites-in-python-with-flask/">Building
websites in Python with Flask</a></li>
<li><a
href="https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world">The
Flask Mega-Tutorial</a></li>
<li><a
href="http://blog.luisrei.com/articles/flaskrest.html">Implementing a
RESTful Web API with Python &amp; Flask</a></li>
<li><a href="https://github.com/realpython/discover-flask">Discover
Flask - Full Stack Web Development with Flask</a></li>
<li><a href="https://github.com/mjhea0/flaskr-tdd">Flaskr - Intro to
Flask, Test Driven Development, and jQuery</a></li>
</ul>
<h2 id="courses">Courses</h2>
<ul>
<li><a
href="https://www.udacity.com/course/full-stack-foundations--ud088">Full
Stack Foundations</a></li>
<li><a
href="https://www.udacity.com/course/designing-restful-apis--ud388">Designing
RESTful APIs</a></li>
</ul>
<h2 id="books">Books</h2>
<ul>
<li><a href="https://exploreflask.com/en/latest/">Explore Flask</a></li>
<li><a href="http://shop.oreilly.com/product/0636920031116.do">Flask Web
Development</a></li>
<li><a href="https://realpython.com">Real Python</a></li>
<li><a
href="https://www.packtpub.com/web-development/learning-flask-framework">Learning
Flask Framework</a></li>
<li><a
href="https://www.packtpub.com/web-development/flask-blueprints">Flask
Blueprints</a></li>
<li><a
href="https://www.packtpub.com/web-development/flask-framework-cookbook">Flask
Framework Cookbook</a></li>
<li><a
href="https://www.packtpub.com/web-development/mastering-flask">Mastering
Flask</a></li>
<li><a
href="https://www.packtpub.com/web-development/building-web-applications-flask">Building
Web Applications with Flask</a></li>
</ul>
<h2 id="slides">Slides</h2>
<ul>
<li><a href="http://pycoder.net/bospy/presentation.html">Creating
beautiful REST APIs with Flask</a></li>
<li><a
href="https://speakerdeck.com/mitsuhiko/advanced-flask-patterns">Advanced
Flask Patterns</a></li>
<li><a
href="https://speakerdeck.com/kennethreitz/flasky-goodness">Flasky
Goodness</a></li>
<li><a
href="https://speakerdeck.com/mikedebo/domain-driven-design-dot-dot-dot-with-flask">Domain
Driven Design (… with Flask)</a></li>
<li><a
href="https://speakerdeck.com/playpauseandstop/in-flask-we-trust">In
Flask we Trust</a></li>
</ul>
<h2 id="videos">Videos</h2>
<ul>
<li><a href="https://pyvideo.org/search.html?q=flask">PyVideo</a></li>
<li><a
href="https://www.youtube.com/playlist?list=PLQVvvaa0QuDc_owjTbIY4rbgXOFkUYOUB">Practical
Flask Web Development Tutorials</a></li>
</ul>
<h2 id="built-with-flask">Built with Flask</h2>
<ul>
<li><a href="https://git.zx2c4.com/zmusic-ng/">zmusic-ng</a> - ZX2C4
Music provides a web interface for playing and downloading music files
using metadata.</li>
<li><a href="https://github.com/lowrain/GuitarFan">GuitarFan</a> -
guitar tab</li>
<li><a href="https://github.com/pythoncn/june">June</a> -
<del>python-china.org</del></li>
<li><a href="https://github.com/lepture/zerqu">Zerqu</a> - ZERQU is a
content-focused API-based platform. eg: <a
href="https://python-china.org">Python-China</a></li>
<li><a href="https://github.com/notedit/motiky">motiky</a></li>
<li><a href="https://github.com/notedit/missing">missing</a> - a list
service called missing</li>
<li><a
href="https://github.com/danjac/newsmeme">thenewsmeme.com</a></li>
<li><a href="https://github.com/mattupstate/overholt">overholt</a> -
Example Flask application illustrating common practices</li>
<li><a href="https://github.com/laoqiu/pypress">pypress</a> - flask team
blog</li>
<li><a href="https://github.com/laiwei/thepast">thepast.me</a></li>
<li><a href="https://github.com/no13bus/redispapa">redispapa</a> -
another redis monitor by using flask, angular, socket.io</li>
<li><a href="https://github.com/defshine/flaskblog">flaskblog</a> - a
simple blog system based on flask</li>
<li><a href="https://github.com/defshine/cleanblog">cleanblog</a> - a
clean blog system based on flask and mongoengine</li>
<li><a href="https://github.com/rochacbruno/quokka">Quokka CMS</a> - CMS
made with Flask and MongoDB</li>
<li><a href="https://github.com/lzyy/chat">chat</a> - a live chat built
with python (flask + gevent + apscheduler) + redis</li>
<li><a href="https://github.com/vinceprignano/chatapp">chatapp</a> -
Flask and Angular.js Chat Application using Socket.io</li>
<li><a
href="https://github.com/Frozen-Flask/Frozen-Flask">Frozen-Flask</a> -
Freezes a Flask application into a set of static files</li>
<li><a href="https://github.com/wrobstory/mcflyin">mcflyin</a> - A small
timeseries transformation API built on Flask and Pandas</li>
<li><a href="https://github.com/skylines-project/skylines">Skylines</a>
- Live tracking, flight database and competition framework</li>
<li><a href="https://github.com/apache/incubator-airflow">airflow</a> -
Airflow is a system to programmatically author, schedule and monitor
data pipelines.</li>
<li><a href="https://github.com/google/timesketch">timesketch</a> -
Collaborative forensics timeline analysis</li>
<li><a href="https://github.com/dropbox/changes">changes</a> - A
dashboard for your code. A build system.</li>
<li><a
href="https://github.com/Netflix/security_monkey">security_monkey</a> -
monitors policy changes and alerts on insecure configurations in an AWS
account.</li>
<li><a
href="https://github.com/freedomofpress/securedrop">securedrop</a>- an
open-source whistleblower submission system that media organizations can
use to securely accept documents from and communicate with anonymous
sources.</li>
<li><a href="https://github.com/nylas/sync-engine">sync_engine</a> -
IMAP/SMTP sync system with modern APIs</li>
<li><a href="https://github.com/AamAadmiParty/cleansweep">cleansweep</a>
- Volunteer &amp; Campaign Management System</li>
<li><a href="https://github.com/indico/indico">indico</a> - a
general-purpose event management web-based solution. It includes a
full-blown conference organization workflow as well as tools for meeting
management and room booking. It provides as well integration with
video-conferencing solutions.</li>
<li><a href="https://github.com/flaskbb/flaskbb">flaskbb</a> - A classic
Forum Software in Python using Flask.</li>
<li>[PythonBuddy] (https://github.com/ethanchewy/PythonBuddy) - Online
Python Editor With Live Syntax Checking and Execution</li>
</ul>
<h2 id="boilerplate">Boilerplate</h2>
<ul>
<li><a href="https://github.com/imwilsonxu/fbone">fbone</a></li>
<li><a
href="https://github.com/sloria/cookiecutter-flask">cookiecutter-flask</a></li>
<li><a
href="https://github.com/JackStouffer/Flask-Foundation">Flask-Foundation</a></li>
<li><a
href="https://github.com/alexandre/flask-rest-template">flask-rest-template</a></li>
<li><a href="https://gae-init.appspot.com">gae-init</a> - Flask
boilerplate running on Google App Engine</li>
<li><a
href="https://github.com/dpgaspar/Flask-AppBuilder">Flask-AppBuilder</a>
- Simple and rapid application builder framework, built on top of Flask.
includes detailed security, auto form generation, google charts and much
more</li>
</ul>