Letter P

python3-sieve - XML Comparison Utils

Website: https://pypi.python.org/pypi/sieve
License: MIT
Vendor: Alcance Libre, Inc.
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

Packages

python3-sieve-0.1.9-1.fc14.al.noarch [17 KiB] Changelog by Joel Barrios (2022-01-30):
- Update to 0.1.9.

Listing created by Repoview-0.6.6-6.fc14.al