Automate your mornings with Python by receiving an email that compiles your daily news, weather, and to-do list. This script utilizes various APIs to gather your morning information and sends it to your Outlook email, ensuring you start your day informed and organized.
- API Integration: The script pulls live data from news, weather, and to-do APIs.
- Email Automation: Compiles the data into a friendly morning message and sends it to your Outlook email via SMTP.
- Python Anywhere Hosting: The script can be hosted on PythonAnywhere for consistent daily updates.
To use this script, you must have an .env
file with your API keys and email credentials:
NEWS_API_KEY=your_news_api_key
TODOIST_API_KEY=your_todoist_api_key
WEATHER_API_KEY=your_weather_api_key
EMAIL_SENDER=your_email@outlook.com
EMAIL_PASSWORD=your_password
Additionally, ensure the following Python packages are installed as per requirements.txt
:
python-dotenv==1.0.0
Requests==2.31.0
todoist_api_python==2.1.3
Simply clone the repository, set up your .env
file with the necessary keys and credentials, ensure all requirements are installed, and execute the script to start receiving your daily morning updates.
- News: MediaStack
- To-Do Items: Todoist
- Weather: Weatherbit
- Email Setup: Outlook Account Creation
I've developed some handy Excel add-ins that you might find useful:
- 📊 Dashboard Add-in: Easily create interactive and visually appealing dashboards.
- 🎨 Cartoon Charts Add-In: Create engaging and fun cartoon-style charts.
- 🤪 Emoji Add-in: Add a touch of fun to your spreadsheets with emojis.
- 🛠️ MyToolBelt Add-in: A versatile toolbelt for Excel, featuring:
- Creation of Pandas DataFrames and Jupyter Notebooks from Excel ranges
- ChatGPT integration for advanced data analysis
- And much more!
- 📺 YouTube: CodingIsFun
- 🌐 Website: PythonAndVBA
- 💬 Discord: Join the Community
- 💼 LinkedIn: Sven Bosau
- 📸 Instagram: sven_bosau
If you appreciate the project and wish to encourage its continued development, consider supporting my work.
For feedback, suggestions, or potential collaboration opportunities, reach out at contact@pythonandvba.com.