Metadata-Version: 1.0 Name: cssselect2 Version: 0.2.1 Summary: CSS selectors for Python ElementTree Home-page: http://packages.python.org/cssselect2/ Author: Simon Sapin Author-email: simon.sapin@exyr.org License: BSD Description-Content-Type: UNKNOWN Description: cssselect2: CSS selectors for Python ElementTree ################################################ cssselect2 is a straightforward implementation of `CSS3 Selectors`_ for markup documents (HTML, XML, etc.) that can be read by `ElementTree`_-like parsers (including cElementTree, lxml_, html5lib_, etc.) Unlike cssselect_, it does not translate selectors to XPath_ and therefore does not have all the correctness corner cases that are hard or impossible to fix in cssselect. .. _ElementTree: http://docs.python.org/3/library/xml.etree.elementtree.html .. _CSS3 Selectors: http://www.w3.org/TR/2011/REC-css3-selectors-20110929/ .. _lxml: http://lxml.de/ .. _html5lib: https://github.com/html5lib/html5lib-python .. _cssselect: http://packages.python.org/cssselect/ .. _XPath: http://www.w3.org/TR/xpath/ Quick facts: * Free software: BSD licensed * Compatible with Python 2.7+ and 3.3+ * Latest documentation: http://cssselect2.readthedocs.io/ * Source, issues and pull requests `on Github `_ * Releases `on PyPI `_ * Install with ``pip install cssselect2`` Platform: UNKNOWN