There are two functions in the module lic that you might want to use, lic.lic() and lic.gen_seed().
lic
lic.lic()
lic.gen_seed()