Python wrapper for libsass
Project description
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
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am ‘Added some feature’)
Push to the branch (git push origin my-new-feature)
Create new Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pylibsass-0.1.4.tar.gz
.
File metadata
- Download URL: pylibsass-0.1.4.tar.gz
- Upload date:
- Size: 396.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1140a4bf7f0414bc67b2d18b2af31ee5fa7d0192b7420ce1cefbd3e4ba07589a |
|
MD5 | bf51b4ad329bf86e1df30909f4071b64 |
|
BLAKE2b-256 | 681fc2e40c415a19c6aa22580353bd2358735c06d7feadd7b5040ef05670baa8 |