Name: | python3-sieve |
---|---|
Version: | 0.1.9 |
Release: | 17.el8 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 33211 |
License: | MIT |
RPM: | python3-sieve-0.1.9-17.el8.noarch.rpm |
Source RPM: | python-sieve-0.1.9-17.el8.src.rpm |
Build Date: | Thu Apr 16 2020 |
Build Host: | jenkins-10-147-72-125-ee2f78e0-7f34-4514-8bba-598715617c6d.appad1iad.osdevelopmeniad.oraclevcn.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 |