< Home - < Back

python-decorator


Information about the package, python-decorator, which is shipped with common Linux distributions. The python-decorator package is designed for, Module to simplify usage of decorators.


Package Name:

python-decorator

Summary:

Module to simplify usage of decorators

Description:

The aim of the decorator module is to simplify the usage of decorators for the average programmer, and to popularize decorators usage giving examples of useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc. The core of this module is a decorator factory called decorator.

Architecture:

noarch

Version:

3.0.1

Release:

3.1.el6

Size:

14 k

Repository:

base

From Repository:

Licence:

BSD



Handy Yum Commands for python-decorator


Control the python-decorator package with the following handy commands outlined below.


Command

Description of Command

yum install python-decorator

This command will install python-decorator on the server.

yum remove python-decorator

This command will un-install python-decorator on the server. When you run this command, you will be asked if you are sure that you want to remove python-decorator, so you have to manually confirm that you want to do this.

yum -y remove python-decorator

This command will un-install python-decorator on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-decorator when using the -y flag.

yum update python-decorator

This command will update python-decorator to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-decorator, so you have to manually confirm that you want to do this.

yum -y update python-decorator

This command will update python-decorator to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-decorator when using the -y flag.

yum info python-decorator

This command will show you core information about the python-decorator package.

yum deplist python-decorator

This command will show you the dependencies for python-decorator. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-decorator

This command will check if there is an update waiting on python-decorator. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.