1. Installing Python API for Lanner PSP

Note

“Python API for Lanner PSP” uses Python to call the shared object file generated after PSP compilation to execute PSP functions, and encapsulates many C functions in PSP into Python interfaces, so please make sure to install Core SDK before use.

1.1. Method 1: From PyPI

pip install lannerpsp

1.2. Method 2: From source

git clone https://github.com/lanneriotsw/psp-api-python.git
cd psp-api-python
pip install .