__init__.py 639 B

12345678910111213141516171819202122
  1. # -*- coding: utf-8 -*-
  2. """
  3. CSS Selectors based on XPath
  4. ============================
  5. This module supports selecting XML/HTML elements based on CSS selectors.
  6. See the `CSSSelector` class for details.
  7. :copyright: (c) 2007-2012 Ian Bicking and contributors.
  8. See AUTHORS for more details.
  9. :license: BSD, see LICENSE for more details.
  10. """
  11. from cssselect.parser import (parse, Selector, FunctionalPseudoElement,
  12. SelectorError, SelectorSyntaxError)
  13. from cssselect.xpath import GenericTranslator, HTMLTranslator, ExpressionError
  14. VERSION = '1.0.1'
  15. __version__ = VERSION