Python wrapper for libsass
Pylibsass is a Python wrapper around the libsass library. The main goal of this library is to provide an easy way to hook SASS compilation into your projects.
It uses the awesome Watchdog library to detect filesystem changes and recompile whenever there are changes detected.
import pylibsass pylibsass.watch("app/static/scss", "app/static/css")
Installation is easy:
$ pip install pylibsass
You can view the documentation on Read the Docs.
Installing from source is easy. It is recommended to do this from within a virtualenv:
$ python setup.py develop
To run the tests, you do something similar:
$ python setup.py test