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.5.1.tar.gz (88.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinycss2-1.5.1-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinycss2-1.5.1.tar.gz
  • Upload date:
  • Size: 88.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tinycss2-1.5.1.tar.gz
Algorithm Hash digest
SHA256 d339d2b616ba90ccce58da8495a78f46e55d4d25f9fd71dfd526f07e7d53f957
MD5 003d9f446bddb3dfc76d0f3db0f38fea
BLAKE2b-256 a3ae2ca4913e5c0f09781d75482874c3a95db9105462a92ddd303c7d285d3df2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tinycss2-1.5.1.tar.gz:

Publisher: release.yml on Kozea/tinycss2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: tinycss2-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tinycss2-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3415ba0f5839c062696996998176c4a3751d18b7edaaeeb658c9ce21ec150661
MD5 47916c4f1afe1448c4a0f52d4fe27ba7
BLAKE2b-256 6045c7b5c3168458db837e8ceab06dc77824e18202679d0463f0e8f002143a97

See more details on using hashes here.

Provenance

The following attestation bundles were made for tinycss2-1.5.1-py3-none-any.whl:

Publisher: release.yml on Kozea/tinycss2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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