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

Metadata

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 Provenance Actions
tinycss-0.4.tar.gz 87.8 kB Without provenance Details for tinycss-0.4.tar.gz

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

Security for tinycss 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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