ebook-convert is perfectly standalone and if you install the calibre binaries you dont need to install anything else. And the conversion parts use Qt and various other bits of native code, they are never going to be pure python, that would be horrenduously slow. If you want to integrate your python code with calibre code use
https://manual.calibre-ebook.com/dev...all-of-calibre