Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Kronuz/pyScss
pyScss, a Scss compiler for Python
https://github.com/Kronuz/pyScss
Last synced: about 1 month ago
JSON representation
pyScss, a Scss compiler for Python
- Host: GitHub
- URL: https://github.com/Kronuz/pyScss
- Owner: Kronuz
- License: mit
- Created: 2011-02-04T02:23:11.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T22:48:54.000Z (11 months ago)
- Last Synced: 2024-12-20T11:03:14.508Z (about 1 month ago)
- Language: CSS
- Homepage:
- Size: 2.76 MB
- Stars: 582
- Watchers: 20
- Forks: 141
- Open Issues: 123
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pyScss, a Scss compiler for Python
==================================|build-status| |coverage|
.. |build-status| image:: https://travis-ci.org/Kronuz/pyScss.svg?branch=master
:target: https://travis-ci.org/Kronuz/pyScss.. |coverage| image:: https://coveralls.io/repos/Kronuz/pyScss/badge.png
:target: https://coveralls.io/r/Kronuz/pyScsspyScss is a compiler for the `Sass`_ language, a superset of CSS3 that adds
programming capabilities and some other syntactic sugar... _Sass: http://sass-lang.com/
Quickstart
----------You need Python 2.6+ or 3.3+. PyPy is also supported.
Installation::
pip install pyScss
Usage::
python -mscss < style.scss
Python API::
from scss import Compiler
Compiler().compile_string("a { color: red + green; }")Features
--------95% of Sass 3.2 is supported. If it's not supported, it's a bug! Please file
a ticket.Most of Compass 0.11 is also built in.
Further reading
---------------Documentation is in Sphinx. You can build it yourself by running ``make html``
from within the ``docs`` directory, or read it on RTD:
http://pyscss.readthedocs.org/en/latest/The canonical syntax reference is part of the Ruby Sass documentation:
http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.htmlObligatory
----------Copyright © 2012 German M. Bravo (Kronuz). Additional credits in the
documentation.Licensed under the `MIT license`_, reproduced in ``LICENSE``.
.. _MIT license: http://www.opensource.org/licenses/mit-license.php