Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 7aced2bf0b783675effa14137f8dbdc2 > files > 40

python3-cssselect2-0.2.1-1.mga7.noarch.rpm

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
  <https://github.com/Kozea/cssselect2/>`_
* Releases `on PyPI <http://pypi.python.org/pypi/cssselect2>`_
* Install with ``pip install cssselect2``