< Home - < Back

python-sieve


Information about the package, python-sieve, which is shipped with common Linux distributions. The python-sieve package is designed for, XML Comparison Utils.


Package Name:

python-sieve

Summary:

XML Comparison Utils

Description:

Ripped from FormEncode and strainer just to support Pythons 2 and 3. Intended for use in your webapp test suites. Example usage:: >>> from sieve.operators import eq_xml, in_xml >>> a = "<foo><bar>Value</bar></foo>" >>> b = """ ... <foo> ... <bar> ... Value ... </bar> ... </foo> ... """ >>> eq_xml(a, b) True >>> c = "<html><body><foo><bar>Value</bar></foo></body></html" >>> in_xml(a, c) # 'needle' in a 'haystack' True

Architecture:

noarch

Version:

0.1.6

Release:

7.el6

Size:

16 k

Repository:

epel

From Repository:

Licence:

MIT



Handy Yum Commands for python-sieve


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


Command

Description of Command

yum install python-sieve

This command will install python-sieve on the server.

yum remove python-sieve

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

yum -y remove python-sieve

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

yum update python-sieve

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

yum -y update python-sieve

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

yum info python-sieve

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

yum deplist python-sieve

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

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