Improving python import speed on a yocto-based embedded linux system

I'm working on an application that uses the check sum direct application to validate a couple of directories on boot, after which the normal boot process will proceed. However, we have found that it takes around ~6 seconds to import check sum direct which is increasing our overall boot time.

I've tried importing using import lib but that takes around ~9 seconds to do the same import. Is there a quicker way to do an import?
    This doesn't seem to be an issue related to KiteConnect APIs.
    This forum is dedicated to KiteConnect APIs only. Please, don't post about other issues here.
This discussion has been closed.