{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Converts between lunar and solar calendar dates, and provides access to lunar and solar festivals (including Chinese New Year, Mid-Autumn Festival, Easter, and 24 solar terms) for dates between 1900 and 2100.","skillfed_tags":["calendar-conversion","lunar-calendar","festival-data"],"use_cases":["Convert a Gregorian date to its lunar calendar equivalent for display in Chinese cultural applications.","Find the solar date of a lunar festival (e.g., Chinese New Year) for a given year.","Look up the date of a solar term (e.g., Spring Equinox) using the lunar-find command.","Validate whether a given lunar date is legal before storing or processing it in a calendar system.","Generate festival calendars for Chinese, Korean, Japanese, or Vietnamese audiences in their native languages."],"what_it_does":"LunarCalendar is a bidirectional converter between lunar and solar calendar systems, primarily designed for Chinese, Korean, Japanese, and Vietnamese calendars. It converts dates in both directions and provides a built-in festival database covering lunar holidays (Chinese New Year, Mid-Autumn Festival, Dragon Boat Festival), solar holidays with variable dates (Mother's Day, Easter), and 24 solar terms. The package validates date legality (e.g., detecting invalid leap months) and supports both simplified and traditional Chinese language output.\n\nThe library covers a fixed time range of 1900 to 2100 and depends on python-dateutil, ephem, and pytz for date arithmetic and astronomical calculations. It includes a console command (lunar-find) for quick festival lookups and is designed to be extended with additional festivals and languages through modification of its festival module.","worth_installing":"Yes, if you need lunar-solar conversion and festival data for dates between 1900 and 2100 and can tolerate dormant maintenance. The package is stable, has no known vulnerabilities, installs easily, and covers a common use case well. Not recommended if you require active maintenance, support for dates outside the 1900\u20132100 range, or frequent updates to festival definitions."},"id":"lunarcalendar","links":{"html":"https://skillfed.io/packages/lunarcalendar","md":"https://skillfed.io/packages/lunarcalendar.md","pypi":"https://pypi.org/project/lunarcalendar/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2018-06-13","license_spdx":null,"license_treatment":"permissive","name":"LunarCalendar","python_support":"supports_current","summary":"A lunar calendar converter, including a number of lunar and solar holidays, mainly from China."},"popularity":{"monthly_downloads":707326,"position":5267,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.9"}
