Python wrapper for L-measure