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.6+, 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.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf |
|
MD5 | 60272f58f8d5834b2e09ffbc9bd5de53 |
|
BLAKE2b-256 | 1e5a576828164b5486f319c4323915b915a8af3fa4a654bbb6f8fc8e87b5cb17 |
Provenance
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe794ceaadfe3cf3e686b22155d0da5780dd0e273471a51846d0a02bc204fec8 |
|
MD5 | c2a2a87dbe1af134bfa4b6ddb278ec94 |
|
BLAKE2b-256 | 537b5dba39bf0572f1f28e2844f08f74a73482a381de1d1feac3bbc6b808051e |