An example app demonstrating how you can use Dramatiq with Flask. flask_dramatiq_example is licensed under Apache 2.0. Please see LICENSE for licensing details.
https://github.com/Bogdanp/flask_dramatiq_exampleTags | flask dramatiq taskqueue |
Implementation | Python |
License | Apache |
Platform | Windows Linux |
dramatiq is a distributed task processing library for Python with a focus on simplicity, reliability and performance.
rabbitmq redis taskqueue queue messaging distributed-systems lock message-queue task-queueThis project showcases my vision on how the RESTful API server should be implemented. I had to patch Flask-RESTplus (see flask_restplus_patched folder), so it can handle Marshmallow schemas and Webargs arguments.
flask-restplus marshmallow pyinvoke flask oauth2 rest-api example-project database-migrations password-flow docker swagger openapiThis repository contains the example code for my blog article Using Celery with Flask. For details on how this all works, see my article Using Celery with Flask.
An example of a large scale Flask application using blueprints and extensions. RQ is a simple job queue for python backed by redis.
flask docker sqlalchemy alembic babel rq yarn travis-ciPyPI Portal is a small demo app used as an example of a potentially large Flask application with several views and Celery tasks. This is how I structure my large Flask applications. In this README I'll explain my design choices with several aspects of the project. For information on how to deploy this application to different production environments, visit the project's wiki.
Elegant WebSockets for your Flask apps. Combining WebSockets with Ajax (XHR) endpoints also comes handy with the support of session handling built-in to sockets as well. As an example you could use an Ajax login call which would create a new session and accordingly set a secure HttpOnly cookie to the browser. After authorization, you can connect to the WebSocket endpoint and reuse the session handling from Flask there as well (as shown here: https://pythonhosted.org/Flask-Session/). Access to other custom cookies is also possible via Flasks request.cookies property.
Flask-Limiter provides rate limiting features to flask routes. It has support for a configurable backend for storage with current implementations for in-memory, redis and memcache. Add the rate limiter to your flask app. The following example uses the default in memory implementation for storage.
This is an example application featured in my Flask Mega-Tutorial. See the tutorial for instructions on how to work with it.
flask webappDoing the OAuth dance with style using Flask, requests, and oauthlib. Currently, only OAuth consumers are supported, but this project could easily support OAuth providers in the future, as well. The full documentation for this project is hosted on ReadTheDocs, but this README will give you a taste of the features. If you're itching to try it out, check out the flask-dance-github example repository, with detailed instructions for how to run this code.
Simple flask example for quick prototypes and small applications
flask website applicationFlask-RESTPlus is an extension for Flask that adds support for quickly building REST APIs. Flask-RESTPlus encourages best practices with minimal setup. If you are familiar with Flask, Flask-RESTPlus should be easy to pick up. It provides a coherent collection of decorators and tools to describe your API and expose its documentation properly using Swagger. Flask-RestPlus requires Python 2.7 or 3.4+.
api swagger flask rest json restful restplusflask-apispec is a lightweight tool for building REST APIs in Flask. flask-apispec uses webargs for request parsing, marshmallow for response formatting, and apispec to automatically generate Swagger markup. You can use flask-apispec with vanilla Flask or a fuller-featured framework like Flask-RESTful. flask-apispec generates Swagger markup for your view functions and classes. By default, Swagger JSON is served at /swagger/, and Swagger-UI at /swagger-ui/.
There is a cookiecutter version of this repo at https://github.com/JackStouffer/cookiecutter-Flask-Foundation. Flask Foundation is a solid foundation for flask applications, built with best practices, that you can easily construct your website/webapp off of. Flask Foundation is different from most Flask frameworks as it does not assume anything about your development or production environments. Flask Foundation is platform agnostic in this respect.
Docker image with uWSGI and Nginx for Flask web applications in Python 3.6, Python 3.5 and Python 2.7 running in a single container. Optionally using Alpine Linux. This Docker image allows you to create Flask web applications in Python that run with uWSGI and Nginx in a single container.
uwsgi-nginx flask-application docker-image python-flask docker-container flask dockerfile uwsgi nginx nginx-server python-3 python3 python-2 python2 flask-image web alpine webapp debianFlask-swagger provides a method (swagger) that inspects the Flask app for endpoints that contain YAML docstrings with Swagger 2.0 Operation objects. Flask-swagger supports docstrings in methods of MethodView classes (ala Flask-RESTful) and regular Flask view functions.
This is a Flask extension for adding blog support to your site using Markdown. Please see Flask-Blogging documentation for more details. You can extend Flask-Blogging by using plugins from here. Check out the Serverless Blog demo running on AWS Lambda.
flask blog-engine flask-extensions python2 python3 webframeworkFlask-Migrate is an extension that handles SQLAlchemy database migrations for Flask applications using Alembic. The database operations are provided as command line arguments for Flask-Script. Note that the FLASK_APP environment variable must be set according to the Flask documentation for this command to work. This will add a migrations folder to your application. The contents of this folder need to be added to version control along with your other source files.
flask database sqlalchemy-database-migrations alembic migrationsFlask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy to your application. It aims to simplify using SQLAlchemy with Flask by providing useful defaults and extra helpers that make it easier to accomplish common tasks.
flask sqlalchemy flask-sqlalchemyThis is a simple application that serves tasty WebSockets to your users with Flask, Flask-Sockets, Gevent, and Gunicorn. Mmmm.
This repository contains the source code examples for the second edition of my O'Reilly book Flask Web Development. The commits and tags in this repository were carefully created to match the sequence in which concepts are presented in the book. Please read the section titled "How to Work with the Example Code" in the book's preface for instructions.
flask
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.