Metadata-Version: 1.1
Name: kindlepush
Version: 0.3.0
Summary: Automatically send your doc to your kindle without clicking the deliver button for 3G device
Home-page: https://github.com/lord63/kindledxpush
Author: lord63
Author-email: lord63.j@gmail.com
License: MIT
Description: KindleDXPush
        ============
        
        |Latest Version| |The MIT License|
        
        This project was created by `@blahgeek <https://github.com/blahgeek>`__,
        now maintained by `@lord63 <https://github.com/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 buttom in the browser. This
        script is born to rescue us from this boring thing. Config this script,
        add it to the ``crontab`` and you'are 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 may 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 evert 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 <https://github.com/lord63/kindledxpush/wiki>`__
        
        License
        -------
        
        MIT
        
        .. |Latest Version| image:: http://img.shields.io/pypi/v/kindlepush.svg
           :target: https://pypi.python.org/pypi/kindlepush
        .. |The MIT License| image:: http://img.shields.io/badge/license-MIT-yellow.svg
           :target: https://github.com/lord63/kindledxpush/LICENSE
        
Keywords: kindle push automatically 3G
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
