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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47a278cf077b2759a56a3a09a3afa8f7cdd83fd87623796bee891348f4c0490a
|
|
| MD5 |
1c1f69e0b929aaac311f5f9763d4360d
|
|
| BLAKE2b-256 |
4c7ad7e9f458416b2b49618db43f3e48aae071093865251db4beb51c4a2c6f09
|
Provenance
The following attestation bundles were made for kathimeripy-0.6.1.tar.gz:
Publisher:
workflow.yml on KDra/kathimeripy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kathimeripy-0.6.1.tar.gz -
Subject digest:
47a278cf077b2759a56a3a09a3afa8f7cdd83fd87623796bee891348f4c0490a - Sigstore transparency entry: 155651101
- Sigstore integration time:
-
Permalink:
KDra/kathimeripy@e00551ac52182ee69c60d71fa3ef4d0541d4c976 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/KDra
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@e00551ac52182ee69c60d71fa3ef4d0541d4c976 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd143cefc0a6b4e7b07dcc663b789c22b4bfe861a3f984a3823707c794eed126
|
|
| MD5 |
34623d5c4de05b52966539b573c4e37f
|
|
| BLAKE2b-256 |
c46ffaa68afa533a6195829d57c35b558967a0a64ee74050e8c74c20e4506f84
|
Provenance
The following attestation bundles were made for kathimeripy-0.6.1-py3-none-any.whl:
Publisher:
workflow.yml on KDra/kathimeripy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kathimeripy-0.6.1-py3-none-any.whl -
Subject digest:
bd143cefc0a6b4e7b07dcc663b789c22b4bfe861a3f984a3823707c794eed126 - Sigstore transparency entry: 155651103
- Sigstore integration time:
-
Permalink:
KDra/kathimeripy@e00551ac52182ee69c60d71fa3ef4d0541d4c976 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/KDra
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@e00551ac52182ee69c60d71fa3ef4d0541d4c976 -
Trigger Event:
push
-
Statement type: