>>> import sass
>>> sass.compile_string("div { a { color: black}}")
'div a {\n color: black; }\n'pip install sassTested with Python 2.7 and Python 3.2/3.3
Steps to compile and install:
sudo pip install Cython
git submodule init
git submodule update
cd libsass
git submodule init
git submodule update
cd ..
make
sudo python setup.py developIf you want to use an alternate python, you'll have to edit the Makefile or execute those commands from activated virtualenv.
It is easy. Fork repo on GitHub, fix stuff and send me nice looking pull-request.
