How To Install python3-django-cacheops on Fedora 36

In this tutorial we learn how to install python3-django-cacheops in Fedora 36. python3-django-cacheops is ORM cache with automatic granular event-driven invalidation for Django

Introduction

In this tutorial we learn how to install python3-django-cacheops on Fedora 36.

What is python3-django-cacheops

A slick app that supports automatic or manual queryset caching and automatic granular event-driven invalidation. It uses redis as backend for ORM cache and redis or filesystem for simple time-invalidated one. And there is more to it * decorators to cache any user function or view as a queryset or by time * extensions for django and jinja2 templates * transparent transaction support * dog-pile prevention mechanism * a couple of hacks to make django faster Python 3 version.

We can use yum or dnf to install python3-django-cacheops on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-django-cacheops.

Install python3-django-cacheops on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-django-cacheops using dnf by running the following command:

sudo dnf -y install python3-django-cacheops

Install python3-django-cacheops on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-django-cacheops using yum by running the following command:

sudo yum -y install python3-django-cacheops

How To Uninstall python3-django-cacheops on Fedora 36

To uninstall only the python3-django-cacheops package we can use the following command:

sudo dnf remove python3-django-cacheops

python3-django-cacheops Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/cacheops
/usr/lib/python3.10/site-packages/cacheops/__init__.py
/usr/lib/python3.10/site-packages/cacheops/__pycache__
/usr/lib/python3.10/site-packages/cacheops/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/conf.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/conf.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/invalidation.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/invalidation.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/jinja2.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/jinja2.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/query.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/query.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/redis.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/redis.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/serializers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/serializers.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/sharding.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/sharding.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/signals.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/signals.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/simple.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/simple.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/transaction.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/transaction.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/tree.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/tree.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/conf.py
/usr/lib/python3.10/site-packages/cacheops/invalidation.py
/usr/lib/python3.10/site-packages/cacheops/jinja2.py
/usr/lib/python3.10/site-packages/cacheops/lua
/usr/lib/python3.10/site-packages/cacheops/lua/cache_thing.lua
/usr/lib/python3.10/site-packages/cacheops/lua/invalidate.lua
/usr/lib/python3.10/site-packages/cacheops/management
/usr/lib/python3.10/site-packages/cacheops/management/__init__.py
/usr/lib/python3.10/site-packages/cacheops/management/__pycache__
/usr/lib/python3.10/site-packages/cacheops/management/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/management/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/management/commands
/usr/lib/python3.10/site-packages/cacheops/management/commands/__init__.py
/usr/lib/python3.10/site-packages/cacheops/management/commands/__pycache__
/usr/lib/python3.10/site-packages/cacheops/management/commands/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/management/commands/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/management/commands/__pycache__/cleanfilecache.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/management/commands/__pycache__/cleanfilecache.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/management/commands/__pycache__/invalidate.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/management/commands/__pycache__/invalidate.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/management/commands/cleanfilecache.py
/usr/lib/python3.10/site-packages/cacheops/management/commands/invalidate.py
/usr/lib/python3.10/site-packages/cacheops/query.py
/usr/lib/python3.10/site-packages/cacheops/redis.py
/usr/lib/python3.10/site-packages/cacheops/serializers.py
/usr/lib/python3.10/site-packages/cacheops/sharding.py
/usr/lib/python3.10/site-packages/cacheops/signals.py
/usr/lib/python3.10/site-packages/cacheops/simple.py
/usr/lib/python3.10/site-packages/cacheops/templatetags
/usr/lib/python3.10/site-packages/cacheops/templatetags/__init__.py
/usr/lib/python3.10/site-packages/cacheops/templatetags/__pycache__
/usr/lib/python3.10/site-packages/cacheops/templatetags/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/templatetags/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/templatetags/__pycache__/cacheops.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cacheops/templatetags/__pycache__/cacheops.cpython-310.pyc
/usr/lib/python3.10/site-packages/cacheops/templatetags/cacheops.py
/usr/lib/python3.10/site-packages/cacheops/transaction.py
/usr/lib/python3.10/site-packages/cacheops/tree.py
/usr/lib/python3.10/site-packages/cacheops/utils.py
/usr/lib/python3.10/site-packages/django_cacheops-6.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/django_cacheops-6.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/django_cacheops-6.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/django_cacheops-6.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/django_cacheops-6.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/django_cacheops-6.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/django_cacheops-6.0-py3.10.egg-info/top_level.txt
/usr/share/doc/python3-django-cacheops
/usr/share/doc/python3-django-cacheops/CHANGELOG
/usr/share/doc/python3-django-cacheops/README.rst
/usr/share/licenses/python3-django-cacheops
/usr/share/licenses/python3-django-cacheops/LICENSE

References

Summary

In this tutorial we learn how to install python3-django-cacheops on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).