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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for sass-2.1.0.1.tar.gz
Algorithm Hash digest
SHA256 75952f41d99360db786ce936f25a3f35d7df14db2ef15f057455b1200338ff44
MD5 af1a9bc37e88484beed256df9fadf436
BLAKE2b-256 84bd9fd69321deab19281b624eca841614038dbdb062be3bcea35a44d9a8cdef

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