All Projects → sh4nks → Flask Caching

sh4nks / Flask Caching

Licence: other
A caching extension for Flask

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Flask Caching

Flask Common
A Flask extension with lots of common time-savers (file-serving, favicons, etc).
Stars: ✭ 227 (-61%)
Mutual labels:  flask, extension
Ecache
👏👏 Integrate cache(redis) [flask etc.] with SQLAlchemy.
Stars: ✭ 28 (-95.19%)
Mutual labels:  cache, flask
Wikipediap2p
WikipediaP2P.org Chrome Extension
Stars: ✭ 105 (-81.96%)
Mutual labels:  cache, extension
Flask Googlemaps
Easy way to add GoogleMaps to Flask applications. maintainer: @RiverFount
Stars: ✭ 550 (-5.5%)
Mutual labels:  flask
Lxc Web Panel
LXC Web Panel repository
Stars: ✭ 555 (-4.64%)
Mutual labels:  flask
Carlos
A simple but flexible cache
Stars: ✭ 564 (-3.09%)
Mutual labels:  cache
Pymessager
Python API to develop chatbot on Facebook Messenger Platform
Stars: ✭ 580 (-0.34%)
Mutual labels:  flask
Python Flask Microservice
Skeleton of a Microservice built with the Flask
Stars: ✭ 544 (-6.53%)
Mutual labels:  flask
Tonyenc
高性能、跨平台的 PHP7 代码加密扩展 (A high performance and cross-platform encrypt extension for PHP source code)
Stars: ✭ 569 (-2.23%)
Mutual labels:  extension
Minerblock
An efficient browser extension to block browser-based cryptocurrency miners all over the web.
Stars: ✭ 563 (-3.26%)
Mutual labels:  extension
Valuestore
Easily store some values
Stars: ✭ 560 (-3.78%)
Mutual labels:  cache
Cookiecutter Flask Restful
Flask cookiecutter template for builing APIs with flask-restful, including JWT auth, cli, tests, swagger, docker and more
Stars: ✭ 556 (-4.47%)
Mutual labels:  flask
Fxtest
接口自动化测试平台——python+flask版,支持http协议,java 版本开发完毕https://github.com/liwanlei/plan
Stars: ✭ 564 (-3.09%)
Mutual labels:  flask
Bloom
🌸 HTTP REST API caching middleware, to be used between load balancers and REST API workers.
Stars: ✭ 553 (-4.98%)
Mutual labels:  cache
Flask Empty
An empty project skeleton / boilerplate for flask projects. Powered by CookieCutter.
Stars: ✭ 569 (-2.23%)
Mutual labels:  flask
Sdwebimage
Asynchronous image downloader with cache support as a UIImageView category
Stars: ✭ 23,928 (+4011.34%)
Mutual labels:  cache
Cp Ddd Framework
A lightweight flexible development framework for complex business architecture with full ecosystem!轻量级业务中台开发框架,中台架构的顶层设计和完整解决方案!
Stars: ✭ 566 (-2.75%)
Mutual labels:  extension
Bettertweetdeck
A browser extension to improve TweetDeck with a lot of features
Stars: ✭ 558 (-4.12%)
Mutual labels:  extension
Gf
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
Stars: ✭ 6,501 (+1017.01%)
Mutual labels:  cache
Safari2aria
safari extension for use aria2 to replace safari default download
Stars: ✭ 563 (-3.26%)
Mutual labels:  extension

Flask-Caching

Build Status codecov PyPI Version Documentation Status License Code style: black

Adds easy cache support to Flask.

This is a fork of the Flask-Cache extension.

Flask-Caching also includes the cache module from werkzeug licensed under a BSD-3 Clause License.

Setup

Flask-Caching is available on PyPI and can be installed with:

pip install flask-caching

The Cache Extension can either be initialized directly:

from flask import Flask
from flask_caching import Cache

app = Flask(__name__)
# For more configuration options, check out the documentation
cache = Cache(app, config={'CACHE_TYPE': 'SimpleCache'})

Or through the factory method:

cache = Cache(config={'CACHE_TYPE': 'SimpleCache'})

app = Flask(__name__)
cache.init_app(app)

Compatibility with Flask-Cache

There are no known incompatibilities or breaking changes between the latest Flask-Cache release (version 0.13, April 2014) and the current version of Flask-Caching. Due to the change to the Flask-Caching name and the extension import transition, Python import lines like:

from flask.ext.cache import Cache

will need to be changed to:

from flask_caching import Cache

Python versions

Starting with version 1.8, Flask-Caching dropped Python 2 support. The library is tested against Python 3.5, 3.6, and PyPy 3.5.

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].