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

Uploaded Source

Built Distribution

tinycss2-1.3.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tinycss2-1.3.0.tar.gz
Algorithm Hash digest
SHA256 152f9acabd296a8375fbca5b84c961ff95971fcfc32e79550c8df8e29118c54d
MD5 736b69f1b164da932028538fe2a60262
BLAKE2b-256 446f38d2335a2b70b9982d112bb177e3dbe169746423e33f718bf5e9c7b3ddd3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tinycss2-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54a8dbdffb334d536851be0226030e9505965bb2f30f21a4a82c55fb2a80fae7
MD5 9b3efbc839688762b69be09d765aa79c
BLAKE2b-256 2c4d0db5b8a613d2a59bbc29bc5bb44a2f8070eb9ceab11c50d477502a8a0092

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