Skip to main content

Send files to your Kindle email.

Project description

s2k
===============================

version number: 1.0
author: Haden Pike

Overview
--------

Send files to your Kindle email.

Installation
------------

To install use pip:

$ pip install s2k


Or clone the repo:

$ git clone https://github.com/hadenpike/s2k.git
$ python setup.py install

Usage
-----

$ s2k -h
usage: s2k [-h] [-cf CONFIGFILE] [-c] f [f ...]

Send files to your Kindle email

positional arguments:
f Files to send to Kindle.

optional arguments:
-h, --help show this help message and exit
-cf CONFIGFILE, --configfile CONFIGFILE
Location of configuration file.
-c, --convert Request the Kindle service to convert files to
internal format.

Configuration
-------------

First, follow the instructions [here](https://www.amazon.com/gp/help/customer/display.html?nodeId=201974220) to view your Send to Kindle email address. The default location of the configuration file is ~/.s2krc. Create it if it does not exist. The configuration file is written in the standard INI format, and supports the following values. Any key without a default value is required.

| Option | Type | Description | Default |
| ----- | ---- | ----------- | ------- |
| from | string | The email address to send from | The $EMAIL environment variable |
| to | string | Your Kindle Email address | |
| server | string | The address of the SMTP server | |
| port | integer | The port the SMTP server is listening on | 587 |
| username | string | The username to log into the SMTP server | |
| password | string | The password to log into the SMTP server | |

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

s2k-1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s2k-1.0-py2.py3-none-any.whl (6.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file s2k-1.0.tar.gz.

File metadata

  • Download URL: s2k-1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for s2k-1.0.tar.gz
Algorithm Hash digest
SHA256 39856d16371e9ba620a9f2acd055a59f82f72b1491b585fed403dcd84e5c5574
MD5 0a4e73c1708a41298c37158f93bfb4fe
BLAKE2b-256 89235993b1dd5181475735a7504fb3b4ee6febe79ed43744c74f9a6717099f97

See more details on using hashes here.

File details

Details for the file s2k-1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: s2k-1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for s2k-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cffabd42348c5003a8043a2e8ec326abc0667f0e921e498c5d5d8305ccf90adb
MD5 4ad7a6a40a7d956d86868bc0ab789b94
BLAKE2b-256 4ead4341ea0bcaebe09cb7fa22f67a0ea3fc870061d2c7f1a9110e1d4c004d62

See more details on using hashes here.

Supported by

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