Skip to main content

Calculates uposatha moonday calendar data for Mahanikaya

Project description

Splendid Moons

calculates uposatha moonday calendar data for Mahanikaya

Python library

https://pypi.org/project/splendidmoons/

Generates the calendar data for http://splendidmoons.github.io/

(This is a Python port and replacement of the older suriya-go GoLang package.)

$ pip install splendidmoons
$ splendidmoons asalha-puja 2023
2023-08-01
$ splendidmoons year-events-csv 2020 2030 moondays.csv
from splendidmoons.calendar_year import CalendarYear
for year in [2023, 2024, 2025]:
    print(f"{year}: {CalendarYear(year).year_type()}")
# 2023: YearType.Adhikamasa
# 2024: YearType.Normal
# 2025: YearType.Adhikavara

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

splendidmoons-1.0.2.tar.gz (15.7 kB view hashes)

Uploaded Source

Built Distribution

splendidmoons-1.0.2-py3-none-any.whl (20.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page