{"id":18008922,"url":"https://github.com/mp3guy/sunandmoon","last_synced_at":"2025-04-04T12:28:49.047Z","repository":{"id":240287615,"uuid":"618637894","full_name":"mp3guy/sunAndMoon","owner":"mp3guy","description":"Script to calculate the times you can catch a solar or lunar rise or set for a location and direction.","archived":false,"fork":false,"pushed_at":"2023-04-28T17:01:43.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T22:29:36.458Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mp3guy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-24T23:18:49.000Z","updated_at":"2023-04-15T16:35:53.000Z","dependencies_parsed_at":"2024-05-17T20:19:19.310Z","dependency_job_id":"bf9cb9c1-2744-4602-8b9a-35ef50b19473","html_url":"https://github.com/mp3guy/sunAndMoon","commit_stats":null,"previous_names":["mp3guy/sunandmoon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mp3guy%2FsunAndMoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mp3guy%2FsunAndMoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mp3guy%2FsunAndMoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mp3guy%2FsunAndMoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mp3guy","download_url":"https://codeload.github.com/mp3guy/sunAndMoon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247177919,"owners_count":20896740,"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-10-30T02:08:13.712Z","updated_at":"2025-04-04T12:28:49.027Z","avatar_url":"https://github.com/mp3guy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sunAndMoon\nScript to calculate the times you can catch a solar or lunar rise or set for a location and direction.\n\nRequires astral, ics and tzlocal, all in pip. Find the parameters you need on e.g. suncalc.org.\n\nAll events will be printed to the screen while an iCalendar file, `sun_moon_events.ics`, will be output in the current directory containing all events in a format you can import into e.g. Google Calendar. \n\nUsage:\n```\n$ python sunAndMoon.py -h\nusage: sunAndMoon.py [-h] --loc LOC --lat LAT --lon LON --year YEAR --astart ASTART --aend AEND\n\nSun and Moon Set and Rise Calculator\n\noptions:\n  -h, --help       show this help message and exit\n  --loc LOC        Location name (default: None)\n  --lat LAT        Latitude in degrees (default: None)\n  --lon LON        Longitude in degrees (default: None)\n  --year YEAR      Year (default: None)\n  --astart ASTART  Azimuth start in degrees clockwise from North (default: None)\n  --aend AEND      Azimuth end in degrees clockwise from North (default: None)\n```\n\nFor example:\n```\npython sunAndMoon.py --loc Beach --lat 63.79913 --lon -20.88370 --year 2023 --astart 140 --aend 269\nSun rising at 01/01/23 11:10:52\nSun setting at 01/01/23 15:43:24\nSun rising at 02/01/23 11:09:52\nSun setting at 02/01/23 15:45:21\nSun rising at 03/01/23 11:08:46\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp3guy%2Fsunandmoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmp3guy%2Fsunandmoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp3guy%2Fsunandmoon/lists"}