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.0.tar.gz
.
File metadata
- Download URL: tinycss2-1.0.0.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.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562d2e2b7ff191c0a9587ad5114dbf47d015d02f7449aa0ac41e7a725fbd77fc |
|
MD5 | 01004174033c405d895c8ae91c339f56 |
|
BLAKE2b-256 | 2d47a581910f83feb6e52eeaf3d78590640c009d60963236ec8b74704e705a92 |
Provenance
File details
Details for the file tinycss2-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: tinycss2-1.0.0-py3-none-any.whl
- Upload date:
- Size: 61.5 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.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a7c09ff9f3bd71772de87ba3984e216a18261b889f9b9b6f2942140f17c94fa |
|
MD5 | 6d9c039cf24a9db3cbbaa7b1f09ec406 |
|
BLAKE2b-256 | afaf19883a42f570332bdd09cb7134a4975d59b4a8d418d46dc0730267aa3efa |