As of today, Amazon recommends using the open source `epub` format. To convert your e-book to the epub format in python, you can use the `ebooklib` python library. Still to have a properly formatted e-book, you should go over the formatting to have the text paragraphs, headings and images properly aligned. To achieve this you can use additional `HTML` tags for example. In any case you should check the output if all the formatting meets your expectations before you publish and reformat if it doesn't.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence