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

Uploaded Source

Built Distribution

tinycss2-1.4.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tinycss2-1.4.0.tar.gz
Algorithm Hash digest
SHA256 10c0972f6fc0fbee87c3edb76549357415e94548c1ae10ebccdea16fb404a9b7
MD5 de6bd20b47354352c2b2344c842385c7
BLAKE2b-256 7afd7a5ee21fd08ff70d3d33a5781c255cbe779659bd03278feb98b19ee550f4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tinycss2-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a49cf47b7675da0b15d0c6e1df8df4ebd96e9394bb905a5775adb0d884c5289
MD5 420d002d4652b79cc42ea1b43ce351f0
BLAKE2b-256 e634ebdc18bae6aa14fbee1a08b63c015c72b64868ff7dae68808ab500c492e2

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