I have these python scripts in my PATH variable which I use on a daily basis.
syn gives you synonyms to a given word
kw gives you the current calendar week
stp gives you your timetable for the zhaw (only school of engineering)
de translates a german word to english
en translates an english word to german
You can just download/clone and use it. Some scripts need additional dependencies. See list below.
- syn: lxml, requests
- kw: datetime
- stp: datetime, prettytable, requests, json
- ed/de: requests
The syn script parses the output from woxikon.de
syn word
Example
syn gehen
Output
fortgehen
abgehen
kündigen
zurücktreten
abdanken
sterben
abfahren
aufgeben
...
use without any arguments
Output
current calendar week: 9
Usage: stp [days adding to current date]
Output
+-------+-------+---------+--------+
| Start | End | Course | Room |
+-------+-------+---------+--------+
| 08:00 | 09:35 | t.MC2-V | TE 407 |
| 12:00 | 13:35 | t.MPC-P | TH 553 |
| 14:00 | 15:35 | t.MPC-V | TH 553 |
+-------+-------+---------+--------+
It uses the API from Yandex.Translate
Usage: ed ENGLISH-WORD
or
de GERMAN-WORD
MIT