LESS is an extension of CSS. You can write LESS code just like you would write CSS, except you need to compile it to CSS. That's what the package is for.
Download and extract the distribution and then from the command prompt type:
$ python setup.py install
Alternatively, if you have pip, you can download and install the package by typing the following command in the terminal:
$ pip install lesscss-python
Command line tool is called lessc.py, and is used like this:
$ lessc.py source [destination]
The source is the LESS file you want to compile, and the destination is the (optional) CSS file you want to compile it to:
$ lessc.py style.less style.css
If you did't specify a destination, lessc.py will output to stdout:
$ lessc.py style.less
Probably full of bugs with "potentially" all features apart from namespaces and accessors.
Currently this has all the features that I require, but lacks full compatibility with LessCSS.
Due to a request it is now hosted on Github https://github.com/metalshark/lesscss-python and may receive traction towards gaining full feature parity.
Open to anyone wanting to advance this project (it does not use a lexer/parser as such as it seemed more trouble than its worth to learn how they work in order to build this).