{"id":18998862,"url":"https://github.com/anthonydb/wx-mail","last_synced_at":"2025-07-12T16:38:59.292Z","repository":{"id":36302353,"uuid":"40606951","full_name":"anthonydb/wx-mail","owner":"anthonydb","description":"A simple app to email yourself the weather forecast each day.","archived":false,"fork":false,"pushed_at":"2019-03-17T03:07:47.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T14:05:53.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthonydb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-12T15:02:22.000Z","updated_at":"2024-08-21T02:15:52.000Z","dependencies_parsed_at":"2022-09-04T20:00:25.001Z","dependency_job_id":null,"html_url":"https://github.com/anthonydb/wx-mail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anthonydb/wx-mail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonydb%2Fwx-mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonydb%2Fwx-mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonydb%2Fwx-mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonydb%2Fwx-mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthonydb","download_url":"https://codeload.github.com/anthonydb/wx-mail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonydb%2Fwx-mail/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265024280,"owners_count":23699589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T17:48:10.621Z","updated_at":"2025-07-12T16:38:59.227Z","avatar_url":"https://github.com/anthonydb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wx-mail\n\nI'm a weather nerd. I also own a Raspberry Pi. So, what better coding project than a short Python script that lets the Pi email me the weather forecast every day? Because: Lazy. Also, I wanted to learn more about using Python to send emails.\n\n## Usage\n\n* Sign up for a free API key from [Dark Sky](https://darksky.net/dev). You won't be hitting the API much, so the free plan will work just fine.\n* Find the latitude and longitude of the place you want for your forecast.\n* Add those coordinates, your API key and your email information to `settings.py`. In there, you can also specify a list of the email addresses to send your forecast to.\n* You'll probably want to edit the email HTML to suit your needs.\n* Set this to run on a cron job and enjoy a fresh forecast in your inbox.\n\n## Requirements\n\nYou'll need two Python libraries:\n\n```\npip install requests darkskylib\n```\n\n## Results\n\nThe email text ends up looking like this (of course, you can customize it):\n\n\n\n**Hello!**\n\nHere's the weather forecast as of March 16, 2019, at 8:00 PM\n\n**Today's Look Ahead**\n\nSnow (\u003c 1 in.) on Monday, with high temperatures bottoming out at 47°F on Monday.\n\n**Your Big Weekly Forecast**\n\n**Saturday, 3/16**\n\nPartly cloudy until afternoon.\n\n\\* High 57; low 39. \n\n\\* Sunrise 7:21 am; set 7:19 pm.\n\n**Sunday, 3/17**\n\nMostly cloudy starting in the evening.\n\n\\* High 51; low 32. \n\n\\* Sunrise 7:20 am; set 7:20 pm.\n\n**Monday, 3/18**\n\nLight snow (\u003c 1 in.) in the morning.\n\n\\* High 47; low 33. \n\n\\* Sunrise 7:18 am; set 7:21 pm.\n\n\n*etc. ...*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonydb%2Fwx-mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonydb%2Fwx-mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonydb%2Fwx-mail/lists"}