MaGe Linux Operations
Nov 18, 2017 · Operations
Automate Weather Forecast Emails with Python, Jinja2, and Crontab
This tutorial walks through using Python's requests library to fetch weather data from the Heweather API, rendering it with a Jinja2 HTML template, constructing and sending the email via smtplib, and scheduling the whole process with crontab, while highlighting common pitfalls.
APIHeweatherJinja2
0 likes · 5 min read
