This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This project was created by @blahgeek, now maintained by @lord63.

Intro

As we all know, we can use Amazon’s free 3G network to deliver our docs, but we need to manually click the deliver button in the browser. This script is born to rescue us from this boring thing. Config this script, add it to the crontab and you’re done. All your docs will be sent to your kindle automatically.

Requirement

  • Python 2.7
  • Requests lib
  • BeautifulSoup lib
  • Linux platform (I haven’t test it on windows)

Install

$ sudo pip install kindlepush

Feature

  • It has a log file, you can check which file you’ve delivered.
  • Use sqlite database, don’t worry about that a doc will be missed or delivered twice.
  • Get pending deliveries.

Usage

Usage: kindlepush <command> [option]

Options:
  -h, --help            output the help menu
  -V, --version         output the version number
  -c, --count [count]   the count of the docs to deliver
  -n, --number [number] show how many logs

Commands:
  read                  read the log file
  pending               get pending deliveries

first, touch a new file named kindlepush_config.json under /usr/local/bin, including those:

{
    "email": "xxxxxx",              # your email
    "password": "xxxxxx",           # your amazon's password
    "directory": "/path/to/save/",  # save log file and database, end with '/'
    "count": 15,                    # check how many docs every time that whether those have been deliverred before, default 15 is one page a time.
    "number": 4                     # the default count of log messages when you read from log file
}

deliver your doc from your kindle library to your kindle:

$ kindlepush
Login...
Delivering...
delivering YOUR DOC
Done. Save to db.
delivering YOUR DOC
Done. Save to db.

read the log file to get to know the docs which you have delivered: (default is 4 messages, you can use -n NUMBER to get more information.)

$ kindlepush read
2014-09-23 07:40:32,077 [INFO] delivered YOURDOC
2014-09-23 07:40:33,125 [INFO] delivered YOURDOC
2014-09-23 07:40:34,183 [INFO] delivered YOURDOC
2014-09-24 14:12:34,506 [INFO] delivered YOURDOC

get pending deliveries:

$ kindlepush pending
Login...
Pending Deliveries:
        你好
        nice

Get help via kindlepush -h and kindlepush read -h.

Wiki

see wiki

License

MIT

Release History

Release History

0.3.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
kindlepush-0.3.3.tar.gz (8.2 kB) Copy SHA256 Checksum SHA256 Source Aug 29, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting