Flask LessCSS

is a small Flask extension that will automatically re-render your .less files into CSS before each request if they’ve changed. sjl.bitbucket.org/flask-lesscss/

It's as easy as wrapping your flask app:

from flaskext.lesscss import lesscss

This will watch your app’s static media directory and automatically render .less files into .css files in the same (sub)directory.

You can get the code from bitbucket or github.