0 purchases
pykindler 0.3.2
Command line tool that automatically detects and converts downloaded e-books to mobi format (and auto-uploads to Kindle, on a schedule)
Where to get it
The source code is currently hosted on GitHub at:
https://github.com/VivekBits2210/pykindler
Package is deployed at Python Package Index (PyPI)
pip3 install pykindler
Ensure Calibre is installed (Guide)
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
Know your Kindle’s e-mail address here
Dependencies
UNIX based system needed (Linux, MacOS)
Calibre
pyenchant - Offers an English Dictionary, helpful in detecting if a file is a book
python-crontab - Allows scheduling of pykindler jobs that auto-convert and email your books in the background
pgi - Auto-detects your downloads folder
black - Code formatter
argparse - Neater interface with command line arguments
keyring - Safe storage of email credentials
Usage
In default mode, pykindler will auto-detect your downloads folder and populate ‘Converted_Books’ and ‘Processed_Books’ folders
.. code-block:: sh
pykindler-run
In custom mode, specify your downloads folder and setup a twice-a-day conversion job
pykindler-run --folder /home/some-user/Desktop --job
If you just want to convert one file, specify it after –file
pykindler-run --file /home/some-user/Desktop/my-book.epub
If you want to not convert to mobi, choose your own extension with –ext
pykindler-run --file /home/some-user/Desktop/my-book.mobi --ext epub
For more help
pykindler-run -h
License
MIT
Getting Help
For usage questions, the best place to go to is StackOverflow.
Contributing to pykindler
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
Here is what I plan to do next
Please feel free to mail ideas to the maintainer: [[email protected]]
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.