Metadata-Version: 2.1
Name: splendidmoons
Version: 1.0.0
Summary: Calculates uposatha moonday calendar data for Mahanikaya
License: MIT
Author: Gambhiro
Author-email: profound.labs@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: typer (>=0.9.0,<0.10.0)
Description-Content-Type: text/markdown

# Splendid Moons

*calculates uposatha moonday calendar data for Mahanikaya*

Python library

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

(This is a Python port and replacement of the older [suriya-go](https://github.com/splendidmoons/suriya-go) GoLang package.)

``` shell
$ pip install splendidmoons
$ splendidmoons asalha-puja 2023
2023-08-01
$ splendidmoons year-events-csv 2020 2030 moondays.csv
```

``` python
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
```


