Work with the Perfecto Lab User Management Utility

Admin users in a private or public lab could do Add/Delete User, Add/Modify Roles, Create Groups, and so on. A limited number of update or delete operations can easily be done using the cloud administrator window but become painful when a bulk update is required.

This article explains a Python UI utility to Create/Update bulk user details in public and private labs.

Prerequisites

  1. Admin credentials for a private or public lab
  2. Python

Python installation

Windows:

  1. Download the latest Python 2.7.* version (https://www.python.org/downloads/).
  2. Install the package. Consider installing it using the default directory path, for example Python27.
  3. Add the <PythonInstallationDirectory> and <PythonInstallationDirectory>\Scripts paths in the Environment variable under the "PATH" system variable.

Mac/Unix:

   Mac/Unix comes with a pre-existing Python installation, so you do not need to install Python. However, you can update the Python version by downloading the latest version from https://www.python.org/downloads/mac-osx/.

Package installation

Use the SUDO command if you are installing on Mac/Unix.

To install:

  1. Open a command prompt or terminal window in Windows or Mac, respectively.
  2. Run/Install the package withthe following commands sequentially:
    1.  pip install requests
    2.  pip install openpyxl
    3.  pip install Tkinter

Utility usage