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

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. See below a list of accepted categories.

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.

Optionaly you can alse set news categories you're interested in like so:

python -m kathimeripy news-categories "Επιστημη" "Ελληνικη Οικονομια" "Διεθνης Οικονομια"

Valid categories are the following:

  • HARVARD

  • Αθλητισμος

  • Αμυνα

  • Αποψεις

  • Αστυνομικο

  • Ατζεντα

  • Βιβλιο

  • Γαστρονομος

  • Γραφηματα

  • Διεθνης Οικονομια

  • Δικαστικο

  • Εκπαιδευση

  • Ελληνικη Οικονομια

  • Εξωτερικη Πολιτικη

  • Επιστημη

  • Επιχειρησεις

  • Ιστορια

  • Κοινωνια

  • Κοσμος

  • Κυβερνηση

  • Με την «Κ»

  • Οικονομια

  • Περιοδικο «Κ»

  • Πολιτικη

  • Πολιτισμος

  • Στηλες

  • Ταξιδια

  • Υγεια

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.7.1.tar.gz (5.5 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.7.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kathimeripy-0.7.1.tar.gz
Algorithm Hash digest
SHA256 383271607511bb80a9efc0aeea80592f1b2c580cf0a0fd9ba9cc09bc0d5e8876
MD5 6994efa74390f61fc74fee6072511e0c
BLAKE2b-256 026ccb493e4382a21286a821c6c8c78955263d854aaa756132db20410eba5248

See more details on using hashes here.

Provenance

The following attestation bundles were made for kathimeripy-0.7.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.7.1-py3-none-any.whl.

File metadata

  • Download URL: kathimeripy-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24cd9e52d7a0057b54795fac7f00148465afb5fea541a22209b44ec1793a4dbe
MD5 8d78698e9dcb37b5cf27d91ac2367acf
BLAKE2b-256 78a685a59886a6fe61b2f8f62897bc7bccc7710e587217e865d33f6fb61d6023

See more details on using hashes here.

Provenance

The following attestation bundles were made for kathimeripy-0.7.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