{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/6"}],"enrichment":{"capability":"Converts between Gregorian (solar) and Chinese (lunar) calendar dates, with support for leap months and date arithmetic.","skillfed_tags":["calendar","internationalization","date-conversion"],"use_cases":["Convert Gregorian dates to Chinese lunar dates for cultural event scheduling or holiday calculations.","Build calendar applications or date pickers that display both solar and lunar dates for Chinese-speaking users.","Calculate date differences and perform arithmetic on lunar dates for historical or astrological analysis.","Determine leap months in the Chinese calendar for a given year to handle calendar irregularities.","Integrate lunar date support into internationalization or localization workflows for Chinese markets."],"what_it_does":"Lunardate is a pure-Python library for working with the Chinese calendar system. It provides bidirectional conversion between Gregorian dates and Chinese lunar dates, including support for leap months, and implements date arithmetic (addition and subtraction with timedeltas) and comparison operations. The library has no external runtime dependencies and works with Python 3.7 and later.\n\nThe package is designed for applications that need to handle Chinese calendar dates\u2014such as scheduling systems, cultural event planning, or historical date tracking. It exposes a LunarDate class with methods to convert from solar dates, retrieve date components (year, month, day, leap-month status), and perform standard date operations. The implementation is limited to the Chinese calendar years 1900\u20132099.","worth_installing":"Yes. The package is actively maintained, has no dependencies, installs easily, and solves a specific problem with no known vulnerabilities. The copyleft license is a consideration for proprietary projects, but the library is well-suited for open-source or GPL-compatible applications needing Chinese calendar support."},"id":"lunardate","links":{"html":"https://skillfed.io/packages/lunardate","md":"https://skillfed.io/packages/lunardate.md","pypi":"https://pypi.org/project/lunardate/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-07","license_spdx":null,"license_treatment":"copyleft","name":"lunardate","python_support":"supports_current","summary":"A Chinese Calendar Library in Pure Python"},"popularity":{"monthly_downloads":1707783,"position":3632,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.3.0"}
