KGerring / css_parser

a copy/modification of `https://github.com/Kozea/tinycss` to parse css selectors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • CSS Color 3
  • CSS Fonts 3
  • CSS Paged Media 3

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:

  • Free software: BSD licensed
  • Compatible with Python 2.7 and 3.x
  • Latest documentation on python.org
  • Source, issues and pull requests on Github
  • Releases on PyPI
  • Install with pip install tinycss

About

a copy/modification of `https://github.com/Kozea/tinycss` to parse css selectors

License:Other


Languages

Language:Python 100.0%