Kozea / tinycss

tinycss is a complete yet simple CSS parser for Python.
https://tinycss.readthedocs.io/
Other
88 stars 20 forks source link
css python

tinycss: CSS parser for Python

tinycss is a complete yet simple CSS parser for Python. It supports the full syntax and error handling for CSS 2.1 as well as some CSS 3 modules:

It is designed to be easy to extend for new CSS modules and syntax, and integrates well with cssselect_ for Selectors 3 support.

Quick facts:

.. _cssselect: http://packages.python.org/cssselect/ .. _on python.org: http://packages.python.org/tinycss/ .. _on Github: https://github.com/SimonSapin/tinycss/ .. _on PyPI: http://pypi.python.org/pypi/tinycss