@
Lauraq, you might prefer using calibre's
Command Line Interface - it provides access to many calibre features such as conversion, editing, viewing, metadata embedding etc without the need for a calibre library. Some of the user contributed plugins can also be used from the command line.
Or, because calibre is Open Source software you can create your own
fork ==>>
Setting up a calibre development environment
BR