
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
|build-status| |coverage|
.. |build-status| image:: https://travis-ci.org/Kronuz/pyScss.svg?branch=master :target: https://travis-ci.org/Kronuz/pyScss
.. |coverage| image:: https://coveralls.io/repos/Kronuz/pyScss/badge.png :target: https://coveralls.io/r/Kronuz/pyScss
pyScss is a compiler for the Sass
_ language, a superset of CSS3 that adds
programming capabilities and some other syntactic sugar.
.. _Sass: http://sass-lang.com/
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; }")
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.
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
Copyright © 2012 German M. Bravo (Kronuz). Additional credits in the documentation.
Licensed under the MIT license
_, reproduced in LICENSE
.
.. _MIT license: http://www.opensource.org/licenses/mit-license.php
FAQs
pyScss, a Scss compiler for Python
We found that pyScss demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.