How To Install python2-toolz on CentOS 7

In this tutorial we learn how to install python2-toolz on CentOS 7. python2-toolz is A functional standard library for Python 2

Introduction

In this tutorial we learn how to install python2-toolz on CentOS 7.

What is python2-toolz

Toolz provides a set of utility functions for iterators, functions, and dictionaries. These functions interoperate well and form the building blocks of common data analytic operations. They extend the standard libraries itertools and functools and borrow heavily from the standard libraries of contemporary functional languages. Toolz provides a suite of functions which have the following functional virtues Composable structures. Pure external state. Lazy necessary, allowing them to support large streaming data sets. Toolz functions are pragmatic. They understand that most programmers have deadlines. Low Tech learn Tuned Serializable computing This gives developers the power to write powerful programs to solve complex problems with relatively simple code. This code can be easy to understand without sacrificing performance. Toolz enables this approach, commonly associated with functional programming, within a natural Pythonic style suitable for most developers.

We can use yum or dnf to install python2-toolz on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python2-toolz.

Install python2-toolz on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python2-toolz using yum by running the following command:

sudo yum -y install python2-toolz

Install python2-toolz on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install python2-toolz using dnf by running the following command:

sudo dnf -y install python2-toolz

How To Uninstall python2-toolz on CentOS 7

To uninstall only the python2-toolz package we can use the following command:

sudo dnf remove python2-toolz

References

Summary

In this tutorial we learn how to install python2-toolz on CentOS 7 using yum and dnf.