pyScss, a Scss compiler for Python
pyScss is a compiler for the Sass language, a superset of CSS3 that adds programming capabilities and some other syntactic sugar.
Quickstart
You need Python 2.6+ or 3.3+. PyPy is also supported.
Installation:
pip install pyScss
Usage:
python -mscss < style.scss
Python API:
from scss import Compiler
Compiler().compile_string("a { color: red + green; }")
Features
95% of Sass 3.2 is supported. If it’s not supported, it’s a bug! Please file a ticket.
Most of Compass 0.11 is also built in.
Further reading
Documentation is in Sphinx. You can build it yourself by running make html from within the docs directory, or read it on RTD: http://pyscss.readthedocs.org/en/latest/
The canonical syntax reference is part of the Ruby Sass documentation: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html
Obligatory
Copyright © 2012 German M. Bravo (Kronuz). Additional credits in the documentation.
Licensed under the MIT license, reproduced in LICENSE.
Metadata
Release files for pyScss 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyScss-1.4.0.tar.gz | 122.1 kB | Without provenance | Details |
Release files / pyScss-1.4.0.tar.gz
| Download URL | pyScss-1.4.0.tar.gz |
|---|---|
| Size | 122.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f35521ffe36afa8b34c7d6f3195088a7057c185c2b8f15ee459ab19748669ff
|
|
BLAKE2b-256 checksum How to use checksums |
923064c818fd317e03138f98ca67800edb6a916f59fc07b3d7e535e84c3c333a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.8.2 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.17
|
Security for pyScss 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.