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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tinycss2-1.2.1.tar.gz
Algorithm Hash digest
SHA256 8cff3a8f066c2ec677c06dbc7b45619804a6938478d9d73c284b29d14ecb0627
MD5 e8a06102e7f42ca791463f11ce7b814d
BLAKE2b-256 75be24179dfaa1d742c9365cbd0e3f0edc5d3aa3abad415a2327c5a6ff8ca077

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tinycss2-1.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b80a96d41e7c3914b8cda8bc7f705a4d9c49275616e886103dd839dfc847847
MD5 f2602bda33381f7b819a0fdb993ff7b2
BLAKE2b-256 da99fd23634d6962c2791fb8cb6ccae1f05dcbfc39bce36bba8b1c9a8d92eae8

See more details on using hashes here.

Provenance

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