Generates an HTML Lunar Calendar
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Lunar Calendar

This Python utility will generate an HTML Lunar Calendar for the year that you specify. To run the utility, pass the year as a command-line argument - for example:

python 2018

When running the utility, the file template.html must be present in the current working directory.

An example calendar is shown below:

Lunar Calendar for 2018
link to generated HTML file

As well as displaying the phase of the moon for each day of the year, the calendar lists the exact dates and times of each full moon and new moon, highlighting any blue moons or black moons that occur.