Skip to main content

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

Release files for tinycss 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tinycss 0.4
File Size Uploaded
tinycss-0.4.tar.gz 87.8 kB Details

Release files / tinycss-0.4.tar.gz

Download URL tinycss-0.4.tar.gz
Size 87.8 kB
Tags Source
SHA-256 checksum
How to use checksums
12306fb50e5e9e7eaeef84b802ed877488ba80e35c672867f548c0924a76716e
BLAKE2b-256 checksum
How to use checksums
0559af583fff6236c7d2f94f8175c40ce501dcefb8d1b42e4bb7a2622dff689e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page