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.
Free software: BSD license
For Python 3.10+, tested on CPython and PyPy
Documentation: https://doc.courtbouillon.org/tinycss2
Changelog: https://github.com/Kozea/tinycss2/releases
Code, issues, tests: https://github.com/Kozea/tinycss2
Code of conduct: https://www.courtbouillon.org/code-of-conduct
Professional support: https://www.courtbouillon.org
Donation: https://opencollective.com/courtbouillon
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d339d2b616ba90ccce58da8495a78f46e55d4d25f9fd71dfd526f07e7d53f957
|
|
| MD5 |
003d9f446bddb3dfc76d0f3db0f38fea
|
|
| BLAKE2b-256 |
a3ae2ca4913e5c0f09781d75482874c3a95db9105462a92ddd303c7d285d3df2
|
Provenance
The following attestation bundles were made for tinycss2-1.5.1.tar.gz:
Publisher:
release.yml on Kozea/tinycss2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinycss2-1.5.1.tar.gz -
Subject digest:
d339d2b616ba90ccce58da8495a78f46e55d4d25f9fd71dfd526f07e7d53f957 - Sigstore transparency entry: 717730007
- Sigstore integration time:
-
Permalink:
Kozea/tinycss2@f295a49711a4d348664bba7fb34113b3b4b78cb2 -
Branch / Tag:
refs/tags/v1.5.1 - Owner: https://github.com/Kozea
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f295a49711a4d348664bba7fb34113b3b4b78cb2 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3415ba0f5839c062696996998176c4a3751d18b7edaaeeb658c9ce21ec150661
|
|
| MD5 |
47916c4f1afe1448c4a0f52d4fe27ba7
|
|
| BLAKE2b-256 |
6045c7b5c3168458db837e8ceab06dc77824e18202679d0463f0e8f002143a97
|
Provenance
The following attestation bundles were made for tinycss2-1.5.1-py3-none-any.whl:
Publisher:
release.yml on Kozea/tinycss2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinycss2-1.5.1-py3-none-any.whl -
Subject digest:
3415ba0f5839c062696996998176c4a3751d18b7edaaeeb658c9ce21ec150661 - Sigstore transparency entry: 717730031
- Sigstore integration time:
-
Permalink:
Kozea/tinycss2@f295a49711a4d348664bba7fb34113b3b4b78cb2 -
Branch / Tag:
refs/tags/v1.5.1 - Owner: https://github.com/Kozea
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f295a49711a4d348664bba7fb34113b3b4b78cb2 -
Trigger Event:
push
-
Statement type: