AMQP communication wrapper for calibre’s ebook-convert program.
React to given (AMQP) message. message is usually expected to be collections.namedtuple() structure filled with all necessary data.
Parameters: |
|
---|---|
Returns: | ConversionResponse – response filled with data about conversion and converted file. |
Raises: | ValueError – if bad type of message structure is given. |
It is possible to access module directly, by calling python functions to convert data. If you are interested in this way of accessing functuions, please look at: