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

Uploaded Source

Built Distribution

tinycss2-1.1.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tinycss2-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
MD5 60272f58f8d5834b2e09ffbc9bd5de53
BLAKE2b-256 1e5a576828164b5486f319c4323915b915a8af3fa4a654bbb6f8fc8e87b5cb17

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tinycss2-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe794ceaadfe3cf3e686b22155d0da5780dd0e273471a51846d0a02bc204fec8
MD5 c2a2a87dbe1af134bfa4b6ddb278ec94
BLAKE2b-256 537b5dba39bf0572f1f28e2844f08f74a73482a381de1d1feac3bbc6b808051e

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