DESCRIPTION.rst 913 B

123456789101112131415161718192021222324252627
  1. ===================================
  2. cssselect: CSS Selectors for Python
  3. ===================================
  4. *cssselect* parses `CSS3 Selectors`_ and translate them to `XPath 1.0`_
  5. expressions. Such expressions can be used in lxml_ or another XPath engine
  6. to find the matching elements in an XML or HTML document.
  7. This module used to live inside of lxml as ``lxml.cssselect`` before it was
  8. extracted as a stand-alone project.
  9. .. _CSS3 Selectors: https://www.w3.org/TR/css3-selectors/
  10. .. _XPath 1.0: https://www.w3.org/TR/xpath/
  11. .. _lxml: http://lxml.de/
  12. Quick facts:
  13. * Free software: BSD licensed
  14. * Compatible with Python 2.6+ and 3.3+
  15. * Latest documentation `on Read the Docs <https://cssselect.readthedocs.io/>`_
  16. * Source, issues and pull requests `on Github
  17. <https://github.com/scrapy/cssselect>`_
  18. * Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
  19. * Install with ``pip install cssselect``