[ol7_developer_EPEL] python-sieve-0.1.6-12.el7.noarch

Name:python-sieve
Version:0.1.6
Release:12.el7
Architecture:noarch
Group:Development/Libraries
Size:37858
License:MIT
RPM: python-sieve-0.1.6-12.el7.noarch.rpm
Source RPM: python-sieve-0.1.6-12.el7.src.rpm
Build Date:Thu Sep 14 2017
Build Host:x86-ol7-builder-02.us.oracle.com
Vendor:Oracle America
URL:http://pypi.python.org/pypi/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

Changelog (Show File list) (Show related packages)