02-13-2021, 12:24 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2020
Device: Kindle Paperwhite
|
E-book conversion as a standalone project
Hello,
I had an idea of extracting Calibre's excellent e-book conversion functionality into a standalone Python package so I could use it in another project. I did start to read the code and set up a development environment, but I got a little lost while trying to see what I could do to extract just the conversion pipeline. And when I set up a breakpoint in the ebook conversion CLI, it seemed to even have imported the PyQt libraries. So for someone more familiar with the codebase, do you think it can be done or is it too entangled for that? Is there a prior art of some project for e-book conversion? Thanks! |
02-13-2021, 01:11 PM | #2 |
creator of calibre
Posts: 43,863
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cant. Just call ebook-convert. Or run your python script using calibre-debug, as described here: https://manual.calibre-ebook.com/dev...-your-projects
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resources to determine if a book is standalone? | haertig | General Discussions | 11 | 04-08-2019 05:33 PM |
Fixed Ebook Conversion - music book project | ry1633 | Conversion | 10 | 07-28-2018 10:11 AM |
mobi to epub conversion problem with Project Gutenberg book | highstream | Conversion | 5 | 09-18-2017 06:08 PM |
Project Management Advice and Tips: How Good Project Managers Manage Project | amazon author | Self-Promotions by Authors and Publishers | 0 | 04-07-2015 04:04 AM |
Calibre conversion standalone library | humanfromearth | Calibre | 5 | 12-18-2011 04:51 PM |