Skip to content

python script to generate ics files for sunrise and sunset

Notifications You must be signed in to change notification settings

h4-n1/sunscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

sunscript

Generates an ics file containing events for sunrise and sunset for a given range of dates. Sunrise is defined as dawn to sunrise, sunset is defined as sunset to dusk.

To use, change the variables defined at the beginning. Location is input as coordinates in loc_lat and loc_long, the only function of loc_name is formatting. It also needs the timezone as defined by pytz.

Dependencies:

Todo:

  • Improve daylight time formatting in event description
  • See if coordinates in event location can move to "GEO" property
  • More scripts for astral's other features:
    • Solar noon
    • Moon phase

About

python script to generate ics files for sunrise and sunset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages