< Home - < Back

python-prioritized-methods


Information about the package, python-prioritized-methods, which is shipped with common Linux distributions. The python-prioritized-methods package is designed for, An extension to PEAK-Rules to prioritize methods in order.


Package Name:

python-prioritized-methods

Summary:

An extension to PEAK-Rules to prioritize methods in order

Description:

This module provides four decorators: `prioritized_when`, `prioritized_around`, `prioritized_before`, and `prioritized_after`. These behave like their `peak.rules` counterparts except that they accept an optional `prio` argument which can be used to provide a comparable object (usually an integer) that will be used to disambiguate situations in which more than rule applies to the given arguments and no rule is more specific than another. That is, situations in which an `peak.rules.AmbiguousMethods` would have been raised. This is useful for libraries which want to be extensible via generic functions but want their users to easily override a method without figuring out how to write a more specific rule or when it is not feasible.

Architecture:

noarch

Version:

0.2.1

Release:

5.2.el6

Size:

12 k

Repository:

base

From Repository:

Licence:

MIT



Handy Yum Commands for python-prioritized-methods


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


Command

Description of Command

yum install python-prioritized-methods

This command will install python-prioritized-methods on the server.

yum remove python-prioritized-methods

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

yum -y remove python-prioritized-methods

This command will un-install python-prioritized-methods 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-prioritized-methods when using the -y flag.

yum update python-prioritized-methods

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

yum -y update python-prioritized-methods

This command will update python-prioritized-methods 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-prioritized-methods when using the -y flag.

yum info python-prioritized-methods

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

yum deplist python-prioritized-methods

This command will show you the dependencies for python-prioritized-methods. 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-prioritized-methods

This command will check if there is an update waiting on python-prioritized-methods. 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.