Skip to main content

A package that uses you user name and password for Kathimerini.gr to generate an Epub and send it to your Amazon Kindle.

Project description

Kathimeripy

Use your Kathimerini, GMail and Kindle Email

Installation

pip install kathimeripy

Setup

First run the following to set up the application

python -m kathimeripy configure \
    --kathimerini-user YOUR_LOGIN_EMAIL@SERVER.com \
    --kathimerini-pass YOUR_PASS \
    --gmail-user GMAIL_ACCOUT@gmail.com \
    --gmail-pass GMAIL_APPLICATION_PASSWORD  \
    --kindle-email KINDLE_EMAIL@kindle.com \
    --news-categories "Επιστημη" \
    --news-categories "Ελληνικη Οικονομια" \
    --news-categories "Διεθνης Οικονομια" \
    --news-categories "Πολιτικη" \
    --news-categories "Κυβερνηση" \
    --news-categories "Επιχειρησεις" \
    --news-categories "Με την «Κ»" \
    --news-categories "Ιστορια" \
    --news-categories "Αποψεις" \
    --news-categories "HARVARD" \
    --news-categories "Ατζεντα"

Manual configuration

You can also configure the application by editing the configuration file located at $HOME/.config/kathimeripy/config.json.

The configuration file is in JSON format and should contain the following keys:

  • kathimerini-user: Your Kathimerini login email.
  • kathimerini-pass: Your Kathimerini password.
  • gmail-user: Your Gmail account email.
  • gmail-pass: Your Gmail application password.
  • kindle-email: Your Kindle email address.
  • news-categories: A list of news categories to be fetched.

Usage

To fetch and send the news to your Kindle, simply run: python -m kathimeripy run Or, you can also use the python -m kathimeripy schedule command to run it daily through crontab. By default this is run at 08:00 every day.

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

kathimeripy-0.6.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

kathimeripy-0.6.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file kathimeripy-0.6.1.tar.gz.

File metadata

  • Download URL: kathimeripy-0.6.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for kathimeripy-0.6.1.tar.gz
Algorithm Hash digest
SHA256 47a278cf077b2759a56a3a09a3afa8f7cdd83fd87623796bee891348f4c0490a
MD5 1c1f69e0b929aaac311f5f9763d4360d
BLAKE2b-256 4c7ad7e9f458416b2b49618db43f3e48aae071093865251db4beb51c4a2c6f09

See more details on using hashes here.

Provenance

The following attestation bundles were made for kathimeripy-0.6.1.tar.gz:

Publisher: workflow.yml on KDra/kathimeripy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kathimeripy-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: kathimeripy-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for kathimeripy-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd143cefc0a6b4e7b07dcc663b789c22b4bfe861a3f984a3823707c794eed126
MD5 34623d5c4de05b52966539b573c4e37f
BLAKE2b-256 c46ffaa68afa533a6195829d57c35b558967a0a64ee74050e8c74c20e4506f84

See more details on using hashes here.

Provenance

The following attestation bundles were made for kathimeripy-0.6.1-py3-none-any.whl:

Publisher: workflow.yml on KDra/kathimeripy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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