How To Install python3-txredisapi on Fedora 36

In this tutorial we learn how to install python3-txredisapi in Fedora 36. python3-txredisapi is Non-blocking Redis client for Python

Introduction

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

What is python3-txredisapi

txredisapi is a non-blocking client driver for the Redis database, written in Python. It uses Twisted for the asynchronous communication with Redis. It started as a fork of the original Redis protocol for Twisted, and evolved into a more robust, reliable, and complete solution for applications like web servers. These types of applications often need a fault-tolerant pool of connections with multiple Redis servers, making it possible to easily develop and maintain distributed systems. Most of the Redis commands are supported, as well as other features such as silent reconnection, connection pools, and automatic sharding. This driver is distributed as part of the cyclone web framework.

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

Install python3-txredisapi 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-txredisapi using dnf by running the following command:

sudo dnf -y install python3-txredisapi

Install python3-txredisapi 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-txredisapi using yum by running the following command:

sudo yum -y install python3-txredisapi

How To Uninstall python3-txredisapi on Fedora 36

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

sudo dnf remove python3-txredisapi

python3-txredisapi Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/__pycache__/txredisapi.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/txredisapi.cpython-310.pyc
/usr/lib/python3.10/site-packages/txredisapi-1.4.7-py3.10.egg-info
/usr/lib/python3.10/site-packages/txredisapi-1.4.7-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/txredisapi-1.4.7-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/txredisapi-1.4.7-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/txredisapi-1.4.7-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/txredisapi-1.4.7-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/txredisapi.py

References

Summary

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