Skip to main content

A tiny CSS parser

Project description

tinycss2 is a low-level CSS parser and generator written in Python: it can parse strings, return objects representing tokens and blocks, and generate CSS strings corresponding to these objects.

Based on the CSS Syntax Level 3 specification, tinycss2 knows the grammar of CSS but doesn’t know specific rules, properties or values supported in various CSS modules.

tinycss2 has been created and developed by Kozea (https://kozea.fr). Professional support, maintenance and community management is provided by CourtBouillon (https://www.courtbouillon.org).

Copyrights are retained by their contributors, no copyright assignment is required to contribute to tinycss2. Unless explicitly stated otherwise, any contribution intentionally submitted for inclusion is licensed under the BSD 3-clause license, without any additional terms or conditions. For full authorship information, see the version control history.

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

tinycss2-1.2.0.tar.gz (66.2 kB view details)

Uploaded Source

Built Distribution

tinycss2-1.2.0-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file tinycss2-1.2.0.tar.gz.

File metadata

  • Download URL: tinycss2-1.2.0.tar.gz
  • Upload date:
  • Size: 66.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for tinycss2-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b0e04b0d8682c96dabca57654d3650c2d79f8bd0f1a6fc57b0939598ec3f4f5e
MD5 13b8548422f600032722c25a74706daa
BLAKE2b-256 88586ca37adfcaa69df2a5ca47ac8275121305afcb5206a40ebf2b86bc212169

See more details on using hashes here.

File details

Details for the file tinycss2-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: tinycss2-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for tinycss2-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f16c0a652838606c50b1b660c2021df608d9f7ec5a21673d8a35b0dad1b1718
MD5 d3f5ac435d5d33d14132104b4ba4d37c
BLAKE2b-256 2c3a16fa98f2d715df015f5c6a4a61bdadc40c48fbef0efc76579217ec13fd54

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