cssutils

CSS Cascading Style Sheets library for Python

Author: cthedot
Date: 2007-12-02 13:57:17 +0100 (So, 02 Dez 2007)
Version: (rev 709)

available documentation

General
see also
API

status of the tokenizer

The tokenizer is a customized implementation of CSS3 Module: Syntax (W3C Working Draft 13 August 2003) which itself is based in the CSS 2.1 tokenizer. It tries to be as simple as possible but uses some (helpful) parts of the CSS 2.1 tokenizer.

I guess cssutils is therefor neither CSS 2.1 not CSS 3 compliant but tries to at least be able to parse both grammars as close as possible. Both official grammars are not final nor bugfree but still feasible.