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.8+, 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
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 152f9acabd296a8375fbca5b84c961ff95971fcfc32e79550c8df8e29118c54d |
|
MD5 | 736b69f1b164da932028538fe2a60262 |
|
BLAKE2b-256 | 446f38d2335a2b70b9982d112bb177e3dbe169746423e33f718bf5e9c7b3ddd3 |
Provenance
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54a8dbdffb334d536851be0226030e9505965bb2f30f21a4a82c55fb2a80fae7 |
|
MD5 | 9b3efbc839688762b69be09d765aa79c |
|
BLAKE2b-256 | 2c4d0db5b8a613d2a59bbc29bc5bb44a2f8070eb9ceab11c50d477502a8a0092 |