sas

sass

Python bindings for libsass

Showing:

Popularity

Downloads/wk

0

GitHub Stars

93

Maintenance

Last Commit

7yrs ago

Contributors

6

Package

Dependencies

0

License

Apache License 2.0

Categories

Readme

Python binding for libsass

|BuildStatus|

.. |BuildStatus| image:: https://secure.travis-ci.org/pistolero/python-scss.png?branch=master :target: https://travis-ci.org/pistolero/python-scss :alt: Build status

Usage

.. code:: python

import sass sass.compile_string("div { a { color: black}}") 'div a {\n color: black; }\n'

Installation

.. code:: sh

pip install sass

Compatibility

Tested with Python 2.7 and Python 3.2/3.3

Development

Steps to compile and install:

.. code:: sh

sudo pip install Cython git submodule init git submodule update cd libsass git submodule init git submodule update cd .. make sudo python setup.py develop

If you want to use an alternate python, you'll have to edit the Makefile or execute those commands from activated virtualenv.

How to contribute

It is easy. Fork repo on GitHub, fix stuff and send me nice looking pull-request.

.. image:: https://d2weczhvl823v0.cloudfront.net/pistolero/python-scss/trend.png :alt: Bitdeli badge :target: https://bitdeli.com/free

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial