skip to navigation
skip to content

Not Logged In

pyScss 1.2.0.post3

pyScss, a Scss compiler for Python

pyScss is a compiler for SCSS flavor of the Sass language, a superset of CSS3 that adds programming capabilities and some other syntactic sugar.

Quickstart

You need Python 2.6 or later. Python 3 is also supported.

Installation:

pip install pyScss

Usage:

python -mscss < style.scss

Python API:

from scss import Scss
compiler = Scss()
compiler.compile("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.

 
File Type Py Version Uploaded on Size
pyScss-1.2.0.post3.tar.gz (md5) Source 2013-10-09 92KB
  • Downloads (All Versions):
  • 218 downloads in the last day
  • 1347 downloads in the last week
  • 6536 downloads in the last month