Skip to main content

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:

  • Selectors 3 (can also find matching elements in a lxml document)

  • CSS Color 3

  • CSS Paged Media 3

It is designed to be easy to extend for new CSS modules and syntax.

Quick facts:

  • Free software: BSD licensed

  • Compatible with Python 2.6+ 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.

Source Distribution

tinycss-0.1.1.tar.gz (67.4 kB view details)

Uploaded Source

File details

Details for the file tinycss-0.1.1.tar.gz.

File metadata

  • Download URL: tinycss-0.1.1.tar.gz
  • Upload date:
  • Size: 67.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tinycss-0.1.1.tar.gz
Algorithm Hash digest
SHA256 245e348563eca1a496a712ef0d203a968de127331a2ae732d7817338b02ac85d
MD5 bdb948f700935f5963777e9319889474
BLAKE2b-256 eb630caa38e4f74f7d5a02549ad967ddc2eff76d21ffdf7c070d4ffe81b2a557

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page