Python SDK for Linux
To enable developers to utilize the AAPM Python SDK, the necessary Python module is available in a compressed file named "aapm_python_sdk-1.0.0.tar.gz" located within the installation directory "/opt/aapm/sdk/python". This module must be installed using pip, the Python package manager. The Python version used during SDK development is Python 3.9. Additionally, it's important to note that the gRPC libraries are not included within our Python SDK; however, they are marked as required libraries in the installation package.
Before a Python developer can utilize the SDK, it is imperative to have Python and pip installed. At this point, let's proceed to install our SDK via the command line using pip install:
After installing the SDK, Python code can be written in the selected folder as follows:
In this code sample, an object of the PasswordManager class is initialized, with the host and gRPC port of the AAPM Agent being passed as parameters.