cssselect

Software Screenshot:
cssselect
Software Details:
Version: 0.9.1
Upload Date: 6 Jun 15
Developer: Simon Sapin
Distribution Type: Freeware
Downloads: 10

Rating: nan/5 (Total Votes: 0)

It can read CSS 3 selectors and virtually transform them to XPath 1.0 compatible expressions.

The code was part of the lxml Python module as lxml.cssselect.

Now it can work as a stand-alone.

Features:

  • Supported selectors:
  • :hover
  • :active
  • :focus
  • :target
  • :visited

What is new in this release:

  • Added parser support for :attr:`functional pseudo-elements <Selector.pseudo_element>`.

What is new in version 0.7.1:

  • 0.7 broke the parser in Python 2.4 and 2.5; the tests in 2.x. Now all is well again.

What is new in version 0.6:

  • In ``setup.py`` use setuptools/distribute if available, but fall back on distutils.
  • Implement the ``:lang()`` pseudo-class, although it is only based on ``xml:lang`` or ``lang`` attributes. If the document language is known from some other meta-data (like a ``Content-Language`` HTTP header or ``<meta>`` element), a workaround is to set a lang attribute on the root element.

What is new in version 0.5:

  • Fix case sensitivity issues.
  • Implement :class:`HTMLTranslator` based on the `HTML5 specification`_ rather than guessing; add the ``xhtml`` parameter.
  • Several bug fixes and better test coverage.

Requirements:

  • Python 2.4 or higher

Similar Software

SimpleParse
SimpleParse

21 Jul 15

irclog2html
irclog2html

13 May 15

ConfigIt
ConfigIt

13 Apr 15

Other Software of Developer Simon Sapin

WeasyPrint
WeasyPrint

12 May 15

lselect
lselect

20 Feb 15

cssselect
cssselect

20 Feb 15

Comments to cssselect

Comments not found
Add Comment
Turn on images!