Calibre package¶
AMQP communication wrapper for calibre’s ebook-convert program.
-
edeposit.amqp.calibre.reactToAMQPMessage(message, UUID)[source]¶ React to given (AMQP) message. message is usually expected to be
collections.namedtuple()structure filled with all necessary data.Parameters: - message (*Request class) – only
ConversionRequestclass is supported right now - UUID (str) – unique ID of received message
Returns: response filled with data about conversion and converted file.
Return type: Raises: ValueError– if bad type of message structure is given.- message (*Request class) – only
Lowlevel access¶
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: