Skip to main content

Download books from the internet and send to kindle

Project description

booksnake

Booksnake is a tool to search the web for ebooks and automagically send them to your Kindle (or email), all as simply as possible.

NOTE: Please only use booksnake for legal download of public-domain resources!

Pull-requests and GitHub Issues are always welcome!

Installation

Spin up your favorite terminal, and boop this puppy right up in there:

pip install booksnake

Q.E.D. wut up

Setup

Create a ~/.config/booksnake.json file with the following contents:

{
    "from_email": "you@gmail.com",
    "smtp_password": "your gmail password",
    "to_email": "you@free.kindle.com"
}

If you don't feel comfortable leaving your password in plaintext in your home directory (and I can't possibly imagine why that would be!), you can omit that keyvalue pair and enter it at runtime.

You may also choose, like I did, to make a standalone gmail for just this purpose, and then the password is a moot point.

Make sure that regardless of which email you use, you have added it to your Authorized Senders in Amazon's Kindle settings, or else Amazon will refuse to send your documents to your device.

Usage

No matter which command (send, download, or search) you use, Booksnake will show the same search results:

booksnake send connecticut yankee
1:	<Book "A Connecticut Yankee In King Arthur's Court" by Twain, Mark>
2:	<Book "A Connecticut Yankee in King Arthur's Court" by Twain, Mark>
3:	<Book "A Connecticut Yankee in King Arthur's Court" by Twain, Mark>
4:	<Book "Connecticut Yankee in King Arthur's Court, A" by Twain, Mark>
>

You are prompted to enter the ID number of the book you want to process. Enter an integer, and then hit Enter.

Search for a book without downloading

booksnake search "Moby Dick"

Download a book without sending

booksnake download "Moby Dick"

Search for, download, and send a book to Kindle:

booksnake send "Moby Dick"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

booksnake-0.3.1.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file booksnake-0.3.1.tar.gz.

File metadata

  • Download URL: booksnake-0.3.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.7

File hashes

Hashes for booksnake-0.3.1.tar.gz
Algorithm Hash digest
SHA256 04366182217eddc581b9b3ab2ee9a43e0a2b40bcd23d2ed5b85dd54e16d2f84b
MD5 2219eb04c987352b880d567c8ec25ea4
BLAKE2b-256 53f407d5f515b1d7cbdb22db4b7a4a2115dda495ef16475645260e23684a2c86

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page