Python's CleverCSS
sandbox.pocoo.org
sandbox.pocoo.org
Also, check out http://code.google.com/p/django-css/ for easy integration with Django.
But it is nice to see a Python implementation of such an excellent tool.
But that’s a good thing, seeing other solutions emerge which get rid of those bloated CSS files.
something i didn't find in either language is a way to embed literal css (useful for writing ugly hacks that sometimes rely on css parser errors in the browser)
I'm not sure yet if I'm happy with the lazily evaluated variables, though. In makefiles, I tend to prefer := assignment (eager evaluation) to = assignment (lazy evaluation) when possible to avoid surprises.
Imagine if CSS made you style every element individually, so you had to specify the full path through the DOM before applying each style. It's still the same language because you could get the same results - it's just a lot more typing.
It seems to be a similar thing happening with CSS frameworks, although there's less inefficiency to remove than with my exaggerated example.
Adding variables and arithmetic to the mix also has the potential to make things more maintainable if used correctly - if you're setting the same number multiple times or setting a number as the result of a calculation an expert CSS coder will have to remember to update everything (and/or) redo the calcuations every time they want to make a change.
It's a medium sized win but I'm willing to take a look.