Skip to main content

Python wrapper for libsass

Project description

https://travis-ci.org/rsenk330/pylibsass.png?branch=master https://pypip.in/d/pylibsass/badge.png

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

Installation is easy:

$ pip install pylibsass

Documentation

You can view the documentation on Read the Docs.

Development

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

Contributing

  1. Fork it!
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am ‘Added some feature’)
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Project details


Download files

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

Files for pylibsass, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size pylibsass-0.1.4.tar.gz (396.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page