Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

tinycss is a complete yet simple CSS parser for Python.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tinycss, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size tinycss-0.4.tar.gz (87.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page