kaiwu.license package#
Module contents#
License related
- kaiwu.license.init(user_id, sdk_code)#
Initializes and generates a license file; the license file will be regenerated on each subsequent call.
- Parameters:
user_id – User ID
sdk_code – SDK license code
- kaiwu.license.ensure_license()#
Check if the license file exists. If it doesn’t, prompt the user in the console to enter their user_id and sdk_code to download the license.