tinycss is a complete yet simple CSS parser for Python.