Command-line/Python/Email interface for 'Hallo!Eltern' app for Upper-Austrian schools
Project description
hallo-eltern-cli
hallo-eltern-cli is a command-line/Python/email interface for
Education Group GmbH's
"Hallo!Eltern" application
for Upper-Austrian schools.
hallo-eltern-cli is not affiliated with Education Group GmbH or their
"Hallo!Eltern" application in any way. The "Hallo!Eltern" application is a
product of the Education Group GmbH.
hallo-eltern-cli allows to list, messages, read them, download
attachments, etc directly from your Linux terminal and allows to get
full messages including attachments directly to your local inbox.
Table of Contents
Installation
You need Python >=3.7
-
Install the package:
pip3 install hallo-eltern-cli -
Set the credentials from your "Hallo!Eltern" application:
hallo-eltern-cli config --email YOUR-EMAIL@EXAMPLE.ORG --password YOUR-PASSWORD -
Done \o/
hallo-eltern-cli is now ready for use. For example to list messages,
use the list command:
hallo-eltern-cli list
[...]
Flags | Id | Subject
---------------------------------------------------
CC | 1234567 | Wandertag am Donnerstag
CC | 3456789 | Schikurs Anmeldung
C | 2345678 | Fehlendes Arbeitsblatt
CLI commands
The CLI offers the following commands:
listlists available messagesshowshows a messageopenmarks a message as openclosemarks a message as closedconfigupdates and dumps the configurationtesttests the configured user againts the APImdafeeds messages into a message delivery agend (procmail, maildrop, ...)stdoutdumps messages to stdoutsmtpsends messages as emailsversionprints the version number
Email integration
Simple ways to integrate hallo-eltern-cli with your email pipelines
are to either
- forward the messages to an email server (SMTP) (e.g.: gmx, office365, local server), or to
- pipe the messages to a message delivery agent
(MDA) (e.g.:
procmail,maildrop).
Email server (SMTP)
The smtp mode of hallo-eltern-cli allows to send the messages
(containing the full message's text and attachments) to an email
server to get them to your usual email inbox.
To run check for new messages and forward them to your inbox for example 12 minutes into every hour, simply add a crontab entry like:
12 * * * * /path/to/hallo-eltern-cli smtp --force-address your-email-address@example.org
and configure the email server to use in $HOME/.config/hallo-eltern-cli/config
-
Local SMTP server
The default configuration of
hallo-eltern-cliis to submit to a local SMTP server throughlocalhost:25. So you do not need to add any configuration. -
GMX
To submit the messages to your GMX inbox, set the
[smtp]section in your$HOME/.config/hallo-eltern-cli/configto:[smtp] host = mail.gmx.net port = 587 starttls = True user = your-email-address@gmx.at password = your-secret-password(Note that the password gets stored in plain text, so secure your config file through external means)
-
Office365 / Hotmail
To submit the messages to your Office365 or Hotmail inbox, set the
[smtp]section in your$HOME/.config/hallo-eltern-cli/configto:[smtp] host = smtp.office365.com port = 587 starttls = True user = your-email-address@hotmail.com password = your-secret-password(Note that the password gets stored in plain text, so secure your config file through external means)
Mail Delivery Agent (MDA)
The mda mode of hallo-eltern-cli allows to format messages as
emails (containing the full message's text and attachments) and submit
them to a mail delivery agent (MDA, e.g. procmail). To run it for
example 12 minutes into every hour, simply add a crontab entry like:
12 * * * * /path/to/hallo-eltern-cli mda
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 hallo-eltern-cli-1.1.0.tar.gz.
File metadata
- Download URL: hallo-eltern-cli-1.1.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.15 CPython/3.6.9 Linux/5.4.0-125-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19ebf1e6a9a7a9bde2613749e184d71187010d3eb1fefc9af127f5a74a645e6f
|
|
| MD5 |
92189f28b646120eec30fd3a0e228add
|
|
| BLAKE2b-256 |
55fd9e4560f482eb7d59fd91ef37b3b4796ab94f8e88c858f54ac9aff6e2c7bf
|
File details
Details for the file hallo_eltern_cli-1.1.0-py3-none-any.whl.
File metadata
- Download URL: hallo_eltern_cli-1.1.0-py3-none-any.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.15 CPython/3.6.9 Linux/5.4.0-125-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dd278bdda0a03ba9f9659d4bf30569b46b1306656e7686e479e713127a8b2b1
|
|
| MD5 |
40ab97e5d290dbe789d4c91abeaa42b5
|
|
| BLAKE2b-256 |
e48cc38c09e1debc00e41607098e7b49ea7aa80d43cd2f5d38115782cc06837a
|