Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby LESS gem equivalent in Python

The Ruby LESS gem looks awesome - and I am working on a Python/Pylons web project where it would be highly useful. CSS is, as someone we're all familiar with recently wrote about, clunky in some important ways. So I'd like to make it easier on myself.

Is there an existing Python module or library that provides parallel functionality?

like image 575
Brighid McDonnell Avatar asked May 05 '10 04:05

Brighid McDonnell


2 Answers

I have need for a Python lesscss compiler too, so have started work on one here: http://code.google.com/p/lesscss-python/

Version 0.0.1 has been released, with no support for namespaces/accessors. It is probably riddled with bugs too.

Please feel free to chip in with bug reports/coding or have a look at less-js http://fadeyev.net/2010/06/19/lessjs-will-obsolete-css/.

like image 106
Metalshark Avatar answered Sep 18 '22 07:09

Metalshark


The thing that first comes to mind for me is CleverCSS, a more powerful CSS-ish language with Python and Haskell implementations. I don't know how production-ready this is.

like image 41
Mike Graham Avatar answered Sep 18 '22 07:09

Mike Graham