New python implementation for lrmsinfo