Django Cache Machine: Automatic Caching for Django Models with Python

Cache Machine

Cache Machine provides automatic caching and invalidation for Django models through the ORM.

For full docs, see https://cache-machine.readthedocs.org/en/latest/.

Requirements

Cache Machine currently works with:

  • Django 2.2, 3.0, 3.1, 3.2, and 4.0
  • Python 3.6, 3.7, 3.8, 3.9, and 3.10

The last version to support Python 2.7 and Django 1.11 is django-cache-machine==1.1.0.

Installation

Get it from pypi:

pip install django-cache-machine

Running Tests

Get it from github:

git clone git://github.com/django-cache-machine/django-cache-machine.git
cd django-cache-machine
pip install -r dev-requirements.txt
python run_tests.py

.coveragerc

[run]
source = caching

.gitignore

.coverage
.tox
docs/_build
*.py[co]
*.egg-info
*~
.idea
.direnv
.envrc

Download details:

Author: django-cache-machine
Source: https://github.com/django-cache-machine/django-cache-machine

License: BSD-3-Clause license

#python #django 

Django Cache Machine: Automatic Caching for Django Models with Python
1.55 GEEK