Visualizations of a css parse tree
Project description
css-explore
This originally started as a tool to visualize the parse tree of a css document, but more or less turned into a pretty printer.
The reason I made this project was to compare compilation outputs of various implementations of scss in an effort to switch a codebase from one compiler to another.
This uses:
- reworkcss/css for parsing
- ekalinin/nodeenv for bootstrapping node
Usage
$ css-format --help
usage: css-format [-h] filename
positional arguments:
filename
optional arguments:
-h, --help show this help message and exit
Example run:
$ echo 'body{color:red}' > test.css
$ css-format test.css
body {
color: red;
}
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
css_explore-1.0.1.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file css_explore-1.0.1.tar.gz
.
File metadata
- Download URL: css_explore-1.0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95aa32268828d8de5a54a7d58c89d78d0046280848de12e5ca59d7710e0c935 |
|
MD5 | 7da70df02b4549ed7bc846a27577af6d |
|
BLAKE2b-256 | 928de9178e63444825ef8d5de2d4f79b98132a5d0ded28bcf0fc3705d0cfdf42 |
Provenance
File details
Details for the file css_explore-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: css_explore-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8219d523910757829abd0a768d5f8fc95c91f3054325b8570b61dfc14680882b |
|
MD5 | aa7190e49335821f423854eb8060815f |
|
BLAKE2b-256 | 7f4255b217709215a11de7f93725797e84cd6dc7573287cb7ed32ce212baf0ca |