Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
docs/ | H | 26-Mar-2020 | - | 1,791 | 1,166 | |
scss/ | H | 26-Mar-2020 | - | 76,245 | 70,072 | |
.gitignore | H A D | 26-Mar-2020 | 101 | 13 | 13 | |
.travis.yml | H A D | 26-Mar-2020 | 571 | 31 | 30 | |
DESCRIPTION | H A D | 26-Mar-2020 | 34 | 1 | 1 | |
LICENSE | H A D | 26-Mar-2020 | 1.1 KiB | 21 | 17 | |
MANIFEST.in | H A D | 26-Mar-2020 | 60 | 3 | 2 | |
README.rst | H A D | 26-Mar-2020 | 1.5 KiB | 65 | 38 | |
conftest.py | H A D | 26-Mar-2020 | 4.3 KiB | 147 | 104 | |
setup.py | H A D | 26-Mar-2020 | 4.5 KiB | 159 | 122 | |
tox.ini | H A D | 26-Mar-2020 | 411 | 29 | 23 | |
yapps2.py | H A D | 26-Mar-2020 | 37.5 KiB | 1,184 | 902 |
README.rst
1pyScss, a Scss compiler for Python 2================================== 3 4|build-status| |coverage| 5 6.. |build-status| image:: https://travis-ci.org/Kronuz/pyScss.svg?branch=master 7 :target: https://travis-ci.org/Kronuz/pyScss 8 9.. |coverage| image:: https://coveralls.io/repos/Kronuz/pyScss/badge.png 10 :target: https://coveralls.io/r/Kronuz/pyScss 11 12pyScss is a compiler for the `Sass`_ language, a superset of CSS3 that adds 13programming capabilities and some other syntactic sugar. 14 15.. _Sass: http://sass-lang.com/ 16 17Quickstart 18---------- 19 20You need Python 2.6+ or 3.3+. PyPy is also supported. 21 22Installation:: 23 24 pip install pyScss 25 26Usage:: 27 28 python -mscss < style.scss 29 30Python API:: 31 32 from scss import Compiler 33 Compiler().compile_string("a { color: red + green; }") 34 35 36Features 37-------- 38 3995% of Sass 3.2 is supported. If it's not supported, it's a bug! Please file 40a ticket. 41 42Most of Compass 0.11 is also built in. 43 44 45Further reading 46--------------- 47 48Documentation is in Sphinx. You can build it yourself by running ``make html`` 49from within the ``docs`` directory, or read it on RTD: 50http://pyscss.readthedocs.org/en/latest/ 51 52The canonical syntax reference is part of the Ruby Sass documentation: 53http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html 54 55 56Obligatory 57---------- 58 59Copyright © 2012 German M. Bravo (Kronuz). Additional credits in the 60documentation. 61 62Licensed under the `MIT license`_, reproduced in ``LICENSE``. 63 64.. _MIT license: http://www.opensource.org/licenses/mit-license.php 65