Name : python-sieve
| |
Version : 0.1.6
| Vendor : obs://build_opensuse_org/isv:perlur
|
Release : 12.1
| Date : 2018-10-23 12:03:33
|
Group : Development/Libraries
| Source RPM : python-sieve-0.1.6-12.1.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
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
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/isv:/perlur:/epel/RHEL_7/noarch |