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
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.

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.3.tar.gz (126.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for sass-2.3.tar.gz
Algorithm Hash digest
SHA256 c7e7475ffc6eaadc510516c76cfdb86aaed9b981ff41c2fd1543030bee26332b
MD5 6fd42dcf6b472d0a8227e66d56165977
BLAKE2b-256 9de6fa54218308bc2fc4994010513dd3a4078c7f8fc791d50fa033d9fd91c1f8

See more details on using hashes here.

Supported by

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