Skip to content

Latest commit

 

History

History
165 lines (160 loc) · 3.19 KB

README.md

File metadata and controls

165 lines (160 loc) · 3.19 KB

rlmpy

A Wrapper library for Python to get or set information on Reprise License Manager servers using rlmutil executable

Usage

import rlmpy

rlm_server_data = rlmpy.rlmInfo(
    server="rlm.mylicenseserver.com", 
    port="4101", 
    rlmutil_exe="C:/path/to/my/rlmutil/file(.exe)"
)

rlm_server_data.licenses returns:

[{'available': 0,
  'count': 1,
  'exp': 'permanent',
  'inuse': 1,
  'license': 'hiero_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '1',
  'product': 'hiero_i',
  'reserved': 0,
  'total_checkouts': 65,
  'version': 'v2022.1120'},
 {'available': 1,
  'count': 1,
  'exp': 'permanent',
  'inuse': 0,
  'license': 'hiero_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '2',
  'product': 'hiero_i',
  'reserved': 0,
  'total_checkouts': 0,
  'version': 'v2017.1107'},
 {'available': 3,
  'count': 20,
  'exp': 'permanent',
  'inuse': 17,
  'license': 'nuke_r',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '3',
  'product': 'nuke_r',
  'reserved': 0,
  'total_checkouts': 4154,
  'version': 'v2022.1107'},
 {'available': 1,
  'count': 5,
  'exp': 'permanent',
  'inuse': 4,
  'license': 'nuke_r',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '4',
  'product': 'nuke_r',
  'reserved': 0,
  'total_checkouts': 363,
  'version': 'v2023.0301'},
 {'available': 1,
  'count': 1,
  'exp': 'permanent',
  'inuse': 0,
  'license': 'hieroplayer_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '5',
  'product': 'hieroplayer_i',
  'reserved': 0,
  'total_checkouts': 0,
  'version': 'v2017.1107'},
 {'available': 1,
  'count': 0,
  'exp': '29-oct-2022',
  'inuse': 1,
  'license': 'nuke_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '5',
  'product': 'nuke_i',
  'reserved': 2,
  'total_checkouts': 4,
  'version': 'v2022.1029'},
 {'available': 16,
  'count': 16,
  'exp': '7-nov-2022',
  'inuse': 0,
  'license': 'hieroplayer_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '6',
  'product': 'hieroplayer_i',
  'reserved': 0,
  'total_checkouts': 0,
  'version': 'v2022.1107'},
 {'available': 5,
  'count': 7,
  'exp': 'permanent',
  'inuse': 11,
  'license': 'nuke_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '7',
  'product': 'nuke_i',
  'reserved': 9,
  'total_checkouts': 426,
  'version': 'v2022.1107'},
 {'available': 3,
  'count': 4,
  'exp': '7-nov-2022',
  'inuse': 1,
  'license': 'nukexassist_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '8',
  'product': 'nukexassist_i',
  'reserved': 0,
  'total_checkouts': 2,
  'version': 'v2022.1107'},
 {'available': 2,
  'count': 2,
  'exp': 'permanent',
  'inuse': 0,
  'license': 'nukex_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '9',
  'product': 'nukex_i',
  'reserved': 0,
  'total_checkouts': 3,
  'version': 'v2022.1107'},
 {'available': 6,
  'count': 6,
  'exp': '7-dec-2022',
  'inuse': 0,
  'license': 'nuke_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '10',
  'product': 'nuke_i',
  'reserved': 0,
  'total_checkouts': 0,
  'version': 'v2022.1207'},
 {'available': 1,
  'count': 2,
  'exp': '4-nov-2022',
  'inuse': 1,
  'license': 'hiero_i',
  'min_remove': 120,
  'obsolete': 0,
  'pool': '11',
  'product': 'hiero_i',
  'reserved': 0,
  'total_checkouts': 21,
  'version': 'v2022.1105'}
]