diff options
author | German M. Bravo <german.mb@deipi.com> | 2011-02-16 05:21:24 -0600 |
---|---|---|
committer | German M. Bravo <german.mb@deipi.com> | 2011-02-16 05:21:24 -0600 |
commit | dc9fabf7c2354d7a744f9342c8ce639d7a85f803 (patch) | |
tree | b7d80082a63f98577a0bb726ed6b08acebb71498 /README.rst | |
parent | 8752f577cd7e2c373723fa57447a2b0ef55ce923 (diff) | |
download | pyscss-dc9fabf7c2354d7a744f9342c8ce639d7a85f803.tar.gz |
Heavy optimizations with the math expressions, using Yapps instead of pyParsing now
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 30 |
1 files changed, 19 insertions, 11 deletions
@@ -5,11 +5,11 @@ pyScss, a Scss compiler for Python About ===== -pyScss compiles Scss, a superset of CSS that is more powerful, elegant and -easier to maintain than plain-vanilla CSS. The library acts as a CSS source code -preprocesor which allows you to use variables, nested rules, mixins, and have -inheritance of rules, all with a CSS-compatible syntax which the preprocessor -then compiles to standard CSS. +pyScss compiles Scss (Sass), a superset of CSS that is more powerful, elegant +and easier to maintain than plain-vanilla CSS. The library acts as a CSS source +code preprocesor which allows you to use variables, nested rules, mixins, and +have inheritance of rules, all with a CSS-compatible syntax which the +preprocessor then compiles to standard CSS. Scss, as an extension of CSS, helps keep large stylesheets well-organized. It borrows concepts and functionality from projects such as OOCSS and other similar @@ -18,6 +18,19 @@ structure but it's been completely rewritten, many bugs have been fixed and it has been extensively extended to support almost the full range of Sass' Scss syntax and functionality. +Benchmarks +========== + pyScss has been optimized for speed. Compiling **Compass 0.11.beta.2** + (`compass/doc-src/content/stylesheets/screen.scss`) + ...using **Sass 3.1.0.alpha.221**:: + + Compilation took 2.683s (w/o cache) + Compilation took 1.35s (cached) + + ...using **pyScss 1.0 beta**:: + + Compilation took 0.614s + Usage ===== Usage example:: @@ -28,7 +41,7 @@ Usage Or compile from the command line:: - python scss.py < file.css + python scss.py < file.scss Examples ======== @@ -208,11 +221,6 @@ following `myfile.css`:: // Stuff goes here... -Installation Notes -================== -It requires the Pyparsing module (a single pure python file) from: -http://pyparsing.wikispaces.com/ - License ======= MIT License. See *LICENSE* for details. |