Low-level CSS parser for Python
Project description
tinycss2 is a low-level CSS parser and generator: it can parse strings, return Python 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.
BSD licensed
For Python 3.5+ (tested on CPython and Pypy3)
Latest documentation: http://tinycss2.readthedocs.io/
Source code and issue tracker: https://github.com/Kozea/tinycss2
PyPI releases: https://pypi.python.org/pypi/tinycss2/
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.0.2.tar.gz
.
File metadata
- Download URL: tinycss2-1.0.2.tar.gz
- Upload date:
- Size: 57.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6427d0e3faa0a5e0e8c9f6437e2de26148a7a197a8b0992789f23d9a802788cf |
|
MD5 | 6eddf5d3d1b0cd14676ecc03a9caa3fc |
|
BLAKE2b-256 | 0b108332e2a40334292e584c88f24ebf1635c1704f77be50af73cccc7babdbb7 |
Provenance
File details
Details for the file tinycss2-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: tinycss2-1.0.2-py3-none-any.whl
- Upload date:
- Size: 61.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fdacc0e22d344ddd2ca053837c133900fe820ae1222f63b79617490a498507a |
|
MD5 | cc51adeddc1b3241d9c83b4094432b8e |
|
BLAKE2b-256 | 942c4e501f9c351343c8ba10d70b5a7ca97cdab2690af043a6e52ada65b85b6b |