[ol9_developer_EPEL] python3-sieve-0.1.9-28.el9.noarch

Name:python3-sieve
Version:0.1.9
Release:28.el9
Architecture:noarch
Group:Unspecified
Size:33532
License:MIT
RPM: python3-sieve-0.1.9-28.el9.noarch.rpm
Source RPM: python-sieve-0.1.9-28.el9.src.rpm
Build Date:Mon Feb 13 2023
Build Host:build-ol9-x86_64.oracle.com
Vendor:Oracle America
URL:https://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)