Python knowledge processor library for Smart-M3