Skip to main content

Python bindings for libsass

Project description

Build status

Usage

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

Installation

pip install sass

Compatibility

Tested with Python 2.7 and Python 3.2/3.3

Development

Steps to compile and install:

sudo pip install Cython
git submodule init
git submodule update
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.

Bitdeli badge

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sass-2.2.tar.gz (107.1 kB view details)

Uploaded Source

File details

Details for the file sass-2.2.tar.gz.

File metadata

  • Download URL: sass-2.2.tar.gz
  • Upload date:
  • Size: 107.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sass-2.2.tar.gz
Algorithm Hash digest
SHA256 02f93705c7db4d7b2d753f3c6a6ade2ec18adb4cf9535dccad884d5125f9aa92
MD5 e1e2bc00bf88da9901c32b827aa11018
BLAKE2b-256 f17291780aac49fb3895a4bb69173970912fee92a47632b27d309efdd18e6872

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page